1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-02-05 13:04:54 +02:00

gcc compile fixup

This commit is contained in:
Vadim Glazunov 2008-09-08 21:56:33 +00:00
parent 781340f339
commit 680cbf662a

View File

@ -561,7 +561,11 @@ void CGameState::applyNL(IPack * pack)
if(it->first == at->creature->idNumber)
{
found = true;
it->second += br->killedAmount;
std::pair<ui32,si32> mod = *it;
mod.second += br->killedAmount;
curB->cas[1 - at->attackerOwned].insert(it, mod);
curB->cas[1 - at->attackerOwned].erase(it);
}
}
if(!found)