Debugging.
This commit is contained in:
parent
01376bfbb5
commit
0b1045cadc
|
@ -232,6 +232,11 @@ void doEntities(void)
|
||||||
battle.numAllies = (battle.isEpic) ? numAllies : numActiveAllies;
|
battle.numAllies = (battle.isEpic) ? numAllies : numActiveAllies;
|
||||||
battle.numEnemies = (battle.isEpic) ? numEnemies : numActiveEnemies;
|
battle.numEnemies = (battle.isEpic) ? numEnemies : numActiveEnemies;
|
||||||
|
|
||||||
|
if (battle.stats[STAT_TIME] % (FPS * 30) == 0)
|
||||||
|
{
|
||||||
|
SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "numEnemies=%d, numActiveEnemies=%d, hasThreats=%d", numEnemies, numActiveEnemies, battle.hasThreats);
|
||||||
|
}
|
||||||
|
|
||||||
if (battle.isEpic && battle.stats[STAT_TIME] % FPS == 0)
|
if (battle.isEpic && battle.stats[STAT_TIME] % FPS == 0)
|
||||||
{
|
{
|
||||||
if (numActiveAllies < battle.epicFighterLimit)
|
if (numActiveAllies < battle.epicFighterLimit)
|
||||||
|
|
Loading…
Reference in New Issue