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

#1228 - prevent second AI activation on AI defeat due to wrong EndTurn packet

This commit is contained in:
Andrii Danylchenko
2022-12-14 22:13:26 +02:00
parent bd7f78b8d5
commit 56bf8ec2c4
6 changed files with 36 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ namespace NKAI
{
std::shared_ptr<boost::multi_array<AIPathNode, 5>> AISharedStorage::shared;
boost::mutex AISharedStorage::locker;
std::set<int3> commitedTiles;
std::set<int3> commitedTilesInitial;