ソースを参照

Fix loading of experience for predefined heroes

Ivan Savenko 2 年 前
コミット
7fc66c2797
1 ファイル変更0 行追加2 行削除
  1. 0 2
      lib/mapping/MapFormatH3M.cpp

+ 0 - 2
lib/mapping/MapFormatH3M.cpp

@@ -1665,8 +1665,6 @@ CGObjectInstance * CMapLoaderH3M::readHero(const int3 & mapPosition, const Objec
 		bool hasCustomExperience = reader->readBool();
 		if(hasCustomExperience)
 			object->exp = reader->readUInt32();
-		else
-			object->exp = CGHeroInstance::UNINITIALIZED_EXPERIENCE;
 	}
 	else
 	{