mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-05 00:49:09 +02:00
Fix typos using https://github.com/crate-ci/typos
Changes were reviewed manually
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user