diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bd71b982..d4d7ca79d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## [Unreleased](https://github.com/LostArtefacts/TR1X/compare/stable...develop) - ××××-××-×× - fixed holstering pistols hiding the gun meshes 1 frame too early (#1449, regression from 0.6) +- fixed Lara's sliding animation sometimes being interrupted by a stumble (#1452, regression from 4.3) - improved logs module names readability - improved crash debug information on Windows diff --git a/src/game/room.c b/src/game/room.c index ecfc2a0b5..e46907fa3 100644 --- a/src/game/room.c +++ b/src/game/room.c @@ -1014,12 +1014,11 @@ bool Room_IsOnWalkable( const int32_t z, const int32_t room_height) { sector = Room_GetPitSector(sector, x, z); - - int16_t height = sector->floor.height; if (sector->trigger == NULL) { - return room_height == height; + return false; } + int16_t height = sector->floor.height; bool object_found = false; for (int32_t i = 0; i < sector->trigger->command_count; i++) { const TRIGGER_CMD *const cmd = §or->trigger->commands[i];