Ver Fonte

backwards compatibility

Laserlicht há 1 ano atrás
pai
commit
207b5a2ed0
1 ficheiros alterados com 4 adições e 1 exclusões
  1. 4 1
      lib/StartInfo.h

+ 4 - 1
lib/StartInfo.h

@@ -143,7 +143,10 @@ struct DLL_LINKAGE StartInfo
 		h & fileURI;
 		h & fileURI;
 		h & simturnsInfo;
 		h & simturnsInfo;
 		h & turnTimerInfo;
 		h & turnTimerInfo;
-		h & cheatAllowed;
+		if(version >= 832)
+			h & cheatAllowed;
+		else
+			cheatAllowed = true;
 		h & mapname;
 		h & mapname;
 		h & mapGenOptions;
 		h & mapGenOptions;
 		h & campState;
 		h & campState;