瀏覽代碼

Build fix

Tomasz Zieliński 2 年之前
父節點
當前提交
9b649b0b79
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      lib/spells/CSpellHandler.h
  2. 1 1
      test/map/MapComparer.cpp

+ 1 - 1
lib/spells/CSpellHandler.h

@@ -305,7 +305,7 @@ public:
 		h & school;
 		h & animationInfo;
 		h & nonMagical;
-		h& onlyOnWaterMap;
+		h & onlyOnWaterMap;
 	}
 	friend class CSpellHandler;
 	friend class Graphics;

+ 1 - 1
test/map/MapComparer.cpp

@@ -192,7 +192,7 @@ void MapComparer::compareOptions()
 
 	checkEqual(actual->allowedAbilities, expected->allowedAbilities);
 	checkEqual(actual->allowedArtifact, expected->allowedArtifact);
-	checkEqual(actual->allowedSpell, expected->allowedSpell);
+	checkEqual(actual->allowedSpells, expected->allowedSpells);
 
 	//todo: compareOptions events
 }