Skip to content

Commit fe57e6a

Browse files
committed
Fix compilation.
Reverts a bit of 3c30409 (aggro was defined twice)
1 parent 38d3744 commit fe57e6a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/Battlescape/BattlescapeGame.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ void BattlescapeGame::handleAI(BattleUnit *unit)
261261
findItem(&action);
262262
}
263263
}
264-
bool aggro = dynamic_cast<AggroBAIState*>(ai) != 0;
265-
if (aggro)
264+
265+
if (dynamic_cast<AggroBAIState*>(ai) != 0)
266266
{
267267
_tuReserved = BA_NONE;
268268
if (unit->getAggroSound() != -1 && !_playedAggroSound)

0 commit comments

Comments
 (0)