mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2024-09-11 03:52:44 +02:00
Merge pull request #20270 from ZehMatt/fix-20250
Fix #20250: Entity tweening corrupting entity positions changing parks
This commit is contained in:
commit
2ca1af9e0c
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
#include "actions/GameAction.h"
|
||||
#include "config/Config.h"
|
||||
#include "entity/EntityRegistry.h"
|
||||
#include "entity/EntityTweener.h"
|
||||
#include "entity/PatrolArea.h"
|
||||
#include "entity/Staff.h"
|
||||
#include "interface/Screenshot.h"
|
||||
|
@ -94,6 +95,8 @@ void GameState::InitAll(const TileCoordsXY& mapSize)
|
|||
auto& scriptEngine = GetContext()->GetScriptEngine();
|
||||
scriptEngine.ClearParkStorage();
|
||||
#endif
|
||||
|
||||
EntityTweener::Get().Reset();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue