1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Fix parameter name

This commit is contained in:
nordsoft 2022-11-25 18:40:14 +04:00
parent 44e469a2c7
commit bdc59b18dd

View File

@ -694,7 +694,7 @@ void CPlayerInterface::battleStart(const CCreatureSet *army1, const CCreatureSet
if((!replay && army2_object if((!replay && army2_object
&& army2_object->getOwner() == PlayerColor::UNFLAGGABLE && army2_object->getOwner() == PlayerColor::UNFLAGGABLE
&& settings["adventure"]["quickCombat"].Bool()) && settings["adventure"]["quickCombat"].Bool())
|| settings["adventure"]["alwaysSkipBattle"].Bool()) || settings["adventure"]["alwaysSkipCombat"].Bool())
{ {
autofightingAI = CDynLibHandler::getNewBattleAI(settings["server"]["friendlyAI"].String()); autofightingAI = CDynLibHandler::getNewBattleAI(settings["server"]["friendlyAI"].String());
autofightingAI->init(env, cb); autofightingAI->init(env, cb);