Skip to content

Commit 6714af0

Browse files
committed
Expand the comment
1 parent 8b0cbb1 commit 6714af0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/fheroes2/maps/maps_tiles.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,9 @@ void Maps::Tile::updatePassability()
719719

720720
if ( getTileIndependentPassability() == DIRECTION_ALL ) {
721721
// This tile is free of objects. Its passability must not be affected by any other objects.
722+
//
723+
// The original game does not consider this case and it is actually a bug
724+
// as some tiles in the original game are marked inaccessible while no object exists on them.
722725
return;
723726
}
724727

0 commit comments

Comments
 (0)