mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Tweak StacksHealedOrResurrected
* flags should be bool
This commit is contained in:
parent
a1e06aa217
commit
2c3a607497
@ -1323,7 +1323,7 @@ struct StacksHealedOrResurrected : public CPackForClient //3013
|
||||
{
|
||||
ui32 stackID;
|
||||
ui32 healedHP;
|
||||
ui8 lowLevelResurrection; //in case this stack is resurrected by this heal, it will be marked as SUMMONED //TODO: replace with separate counter
|
||||
bool lowLevelResurrection; //in case this stack is resurrected by this heal, it will be marked as SUMMONED //TODO: replace with separate counter
|
||||
template <typename Handler> void serialize(Handler &h, const int version)
|
||||
{
|
||||
h & stackID & healedHP & lowLevelResurrection;
|
||||
|
@ -3795,7 +3795,7 @@ bool CGameHandler::makeBattleAction( BattleAction &ba )
|
||||
|
||||
StacksHealedOrResurrected::HealInfo hi;
|
||||
hi.healedHP = healed;
|
||||
hi.lowLevelResurrection = 0;
|
||||
hi.lowLevelResurrection = false;
|
||||
hi.stackID = destStack->ID;
|
||||
|
||||
shr.healedStacks.push_back(hi);
|
||||
|
Loading…
Reference in New Issue
Block a user