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:
parent
44e469a2c7
commit
bdc59b18dd
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user