Parcourir la source

Revert "Fixed ancient backward compatibility regression"

This reverts commit 3c67e12620519fa3bbcd461a006520112593d8be.
AlexVinS il y a 7 ans
Parent
commit
f917ec5254
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      lib/mapping/CMap.h

+ 2 - 1
lib/mapping/CMap.h

@@ -164,7 +164,8 @@ struct DLL_LINKAGE EventCondition
 		h & objectType;
 		h & position;
 		h & condition;
-		if(version >= 759)
+		//(!!!) should be `version >= 759` here, but do not try to "fix" it
+		if(version > 759)
 		{
 			h & objectSubtype;
 			h & objectInstanceName;