1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Split BattleProcessor into few more parts

This commit is contained in:
Ivan Savenko
2023-08-14 19:46:42 +03:00
parent 5c78060a07
commit 44832f3797
13 changed files with 2882 additions and 2628 deletions

View File

@@ -4212,7 +4212,7 @@ void CGameHandler::deserializationFix()
//FIXME: pointer to GameHandler itself can't be deserialized at the moment since GameHandler is top-level entity in serialization
// restore any places that requires such pointer manually
heroPool->gameHandler = this;
battles->gameHandler = this;
battles->setGameHandler(this);
playerMessages->gameHandler = this;
}