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
commit33697a9aef83787ba259d40a926cd4f892159f51 (patch)
tree66c4a987205eb11905a8107d7e2d735398e9fc70
parent597f64f07d4e3d0c14396b92aa805e94a6698e3b (diff)
downloadopenttd-33697a9aef83787ba259d40a926cd4f892159f51.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;