Tomasz Zieliński vor 2 Jahren
Ursprung
Commit
9b649b0b79
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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
 }