Skip to content

Commit

Permalink
Fix keys placed above doors (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
cxong committed Jan 23, 2019
1 parent 763d2fd commit ea02f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cdogs/tile.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ bool TileCanWalk(const Tile *t)
bool TileIsClear(const Tile *t)
{
// Check if tile is normal floor
if (t->Class->Type != TILE_CLASS_FLOOR && t->Class->Type != TILE_CLASS_DOOR)
if (t->Class->Type != TILE_CLASS_FLOOR)
{
return false;
}
Expand Down

0 comments on commit ea02f25

Please sign in to comment.