1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-05 00:49:09 +02:00
Changes were reviewed manually
This commit is contained in:
Alexander Wilms
2024-06-24 03:23:26 +02:00
parent 820b1b446e
commit 02e429e973
277 changed files with 815 additions and 815 deletions

View File

@ -140,7 +140,7 @@ int32_t CRetaliations::total() const
if(noRetaliation.getHasBonus())
return 0;
//after dispell bonus should remain during current round
//after dispel bonus should remain during current round
int32_t val = 1 + totalProxy->totalValue();
vstd::amax(totalCache, val);
return totalCache;
@ -804,8 +804,8 @@ void CUnitState::save(JsonNode & data)
{
//TODO: use instance resolver
data.clear();
JsonSerializer ser(nullptr, data);
ser.serializeStruct("state", *this);
JsonSerializer set(nullptr, data);
set.serializeStruct("state", *this);
}
void CUnitState::load(const JsonNode & data)