1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-13 00:24:24 +02:00

fix moving blocks save state

This commit is contained in:
XProger
2019-03-14 07:19:57 +03:00
parent b0f2209d29
commit 64d516bcd2

View File

@@ -595,7 +595,7 @@ struct MovingBlock : Controller {
virtual void setSaveData(const SaveEntity &data) {
updateFloor(false);
Controller::setSaveData(data);
if (flags.state == TR::Entity::asNone)
if (state != STATE_MOVE)
updateFloor(true);
}