mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Added support for concurrent battles to gamestate and server
This commit is contained in:
@@ -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