From 207b5a2ed0f3d7b32424d020a4faf39350bf4960 Mon Sep 17 00:00:00 2001 From: Laserlicht <13953785+Laserlicht@users.noreply.github.com> Date: Wed, 27 Dec 2023 20:44:32 +0100 Subject: [PATCH] backwards compatibility --- lib/StartInfo.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/StartInfo.h b/lib/StartInfo.h index f60bb3c10..1c854c2c5 100644 --- a/lib/StartInfo.h +++ b/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;