Added support for concurrent battles to gamestate and server

This commit is contained in:
Ivan Savenko committed 2023-09-06 16:03:02 +03:00
1 parent a21de70516
commit fc4dfda00f
24 files changed
+581 -444

No files matched your search

+1 -1
View File
@@ -276,7 +276,7 @@ void ApplyGhNetPackVisitor::visitMakeAction(MakeAction & pack)
{
gh.throwIfWrongPlayer(&pack);
result = gh.battles->makePlayerBattleAction(pack.player, pack.ba);
result = gh.battles->makePlayerBattleAction(pack.battleID, pack.player, pack.ba);
}
void ApplyGhNetPackVisitor::visitDigWithHero(DigWithHero & pack)