mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-14 09:04:31 +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) {
|
virtual void setSaveData(const SaveEntity &data) {
|
||||||
updateFloor(false);
|
updateFloor(false);
|
||||||
Controller::setSaveData(data);
|
Controller::setSaveData(data);
|
||||||
if (flags.state == TR::Entity::asNone)
|
if (state != STATE_MOVE)
|
||||||
updateFloor(true);
|
updateFloor(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user