Added support for concurrent battles to gamestate and server
This commit is contained in:
1 parent
a21de70516
commit
fc4dfda00f
24 files changed
+581
-444
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user