- updated debug output in case there are real boost problems in future

This commit is contained in:
SoftCoder 2014-12-21 14:47:58 -08:00
parent 494061b80d
commit 3965f72b5a
1 changed files with 6 additions and 1 deletions

View File

@ -1459,7 +1459,12 @@ void TotalUpgrade::deapply(int sourceUnitId, const UpgradeTypeBase *ut,int destU
}
}
if(removedBoost == false) {
printf("\n\n!!!!!! de-apply boost NOT FOUND!\n\n");
printf("\n\n!!!!!! de-apply boost NOT FOUND for sourceUnitId = %d, destUnitId = %d\n%s\n\nCurrent Boosts:\n",
sourceUnitId,destUnitId,ut->toString().c_str());
for(unsigned int index = 0; index < boostUpgrades.size(); ++index) {
TotalUpgrade *boost = boostUpgrades[index];
printf("\nBoost #%d\n%s\n",index,boost->toString().c_str());
}
}
}