mirror of
https://github.com/vcmi/vcmi.git
synced 2026-05-22 09:55:17 +02:00
Define each identifier in a dedicated statement
This commit is contained in:
@@ -90,7 +90,8 @@ void CBattleAI::yourTacticPhase(const BattleID & battleID, int distance)
|
||||
static float getStrengthRatio(std::shared_ptr<CBattleInfoCallback> cb, int side)
|
||||
{
|
||||
auto stacks = cb->battleGetAllStacks();
|
||||
auto our = 0, enemy = 0;
|
||||
auto our = 0;
|
||||
auto enemy = 0;
|
||||
|
||||
for(auto stack : stacks)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user