1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-02-13 13:18:43 +02:00

log error if DISPELL was resisted

This commit is contained in:
AlexVinS 2015-04-03 02:25:42 +03:00
parent f30d5612ed
commit 2bf63b0ebd

View File

@ -142,6 +142,7 @@ void DispellMechanics::applyBattle(BattleInfo * battle, const BattleSpellCast *
for(auto stackID : packet->affectedCres)
{
if(vstd::contains(packet->resisted, stackID))
logGlobal->errorStream() << "Resistance to DISPELL";
continue;
CStack *s = battle->getStack(stackID);