stop player from shining through walls
This commit is contained in:
parent
701a04060b
commit
c742827e07
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ drawTile row col tile = do
|
|||
rect ctx x (y - (74 - realToFrac tileHeight)) 64 74
|
||||
fillPaint ctx paint
|
||||
fill ctx
|
||||
when (floor pr == row && floor pc == col) $ do
|
||||
when (floor pr == row + 1 && floor pc == col + 1) $ do
|
||||
beginPath ctx
|
||||
circle ctx 640 360 5
|
||||
closePath ctx
|
||||
|
|
Loading…
Reference in a new issue