summaryrefslogtreecommitdiff
path: root/saveload.h
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-12-05 20:02:49 +0000
committerdarkvater <darkvater@openttd.org>2004-12-05 20:02:49 +0000
commit860a39af2ad2b891a0e191317d6e93be0087ab46 (patch)
treef5f39c2833b8d229f0d2a5558ada8b3d01fb0887 /saveload.h
parent78b651c2c9569c82e4b030e6490db3223dad1c6f (diff)
downloadopenttd-860a39af2ad2b891a0e191317d6e93be0087ab46.tar.xz
(svn r959) -Fix: fix previous typo for workaround of braindead MSVC6 (Tron)
-Fix: added debug code to autosave cause it is buggy in multiplayer (does not remember settings; takes them from _opt instead of _new_opt (or vice versa)).
Diffstat (limited to 'saveload.h')
-rw-r--r--saveload.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/saveload.h b/saveload.h
index 885d2b431..4bacf895e 100644
--- a/saveload.h
+++ b/saveload.h
@@ -92,7 +92,7 @@ enum {
};
#define SLE_VAR(t,i,c) 0 | (offsetof(t,i) & 0xF), offsetof(t,i) >> 4, c
-#if MSC_VER == 1200 /* XXX workaround for MSVC6 */
+#if _MSC_VER == 1200 /* XXX workaround for MSVC6 */
#define SLE_VAR2(t0,i0, t1, i1, c) 0 | ((offsetof(t0, i0) + offsetof(t1, i1)) & 0xF), (offsetof(t0, i0) + offsetof(t1, i1)) >> 4, c
#endif
#define SLE_REF(t,i,c) 0x10 | (offsetof(t,i) & 0xF), offsetof(t,i) >> 4, c