Skip to content

Commit

Permalink
Update the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ihhub committed Oct 19, 2024
1 parent b3c5055 commit 96c1644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fheroes2/maps/maps_tiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ void Maps::Tiles::setHero( Heroes * hero )
// - if the object exists then we do nothing.
// - if the object doesn't exist then we have to update the tile object type.
//
// The last case can happen only when a hero boards a boat which is under another sea object, like whirlpool.
// The last case can happen only when a hero boards a boat which is above another sea object, like whirlpool.
if ( ( type == MP2::OBJ_NONE ) || !doesTileContainObjectType( *this, type ) ) {
updateObjectType();
}
Expand Down

0 comments on commit 96c1644

Please sign in to comment.