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:
parent
781340f339
commit
680cbf662a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user