summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-08-07 16:56:00 +0000
committerbjarni <bjarni@openttd.org>2006-08-07 16:56:00 +0000
commitb62f4ed9d251c842b29658d3e857542f65170450 (patch)
tree66c4a987205eb11905a8107d7e2d735398e9fc70
parentadcaf779c4a1835c3456081043b3d369d299c88d (diff)
downloadopenttd-b62f4ed9d251c842b29658d3e857542f65170450.tar.xz
(svn r5805) -Fix: FS#189 Boolean cheats do not work
This turned out to be an endian issue affecting all big endian computers (Vernon aka ploppy)
-rw-r--r--variables.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/variables.h b/variables.h
index 4cb875beb..e67b96573 100644
--- a/variables.h
+++ b/variables.h
@@ -215,8 +215,8 @@ VARDEF Patches _patches;
typedef struct Cheat {
- bool been_used; // has this cheat been used before?
- byte value; // active?
+ bool been_used; // has this cheat been used before?
+ bool value; // tells if the bool cheat is active or not
} Cheat;