فهرست منبع

backwards compatibility

Laserlicht 1 سال پیش
والد
کامیت
207b5a2ed0
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  1. 4 1
      lib/StartInfo.h

+ 4 - 1
lib/StartInfo.h

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