vcmi: massive refactoring v1

This commit is contained in:
Konstantin
2023-04-05 22:33:12 +03:00
parent ee489f18d2
commit 11b237a23c
129 changed files with 803 additions and 762 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ end
function MA:X(x, creatureIndex, flagsMask)
local creatureIndex = checkCreatureIndex(creatureIndex)
local creature = creatureByIndex(creatureIndex)
local creatureBonuses = creature:accessBonuses()
local creatureBonuses = creature:getBonusBearer()
local all = creatureBonuses:getBonuses()
local currentMask = 0