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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user