diff options
author | Darkvater <darkvater@openttd.org> | 2006-04-22 12:40:25 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-04-22 12:40:25 +0000 |
commit | 6410eac6be8166e4f3a1bd021ca9e744a14ef0ee (patch) | |
tree | 74322444c4e9068f80822e3a4837e1a345bcc6f1 /saveload.h | |
parent | 28ddc4e45f216bd4877069e69d143ec3d4945d19 (diff) | |
download | openttd-6410eac6be8166e4f3a1bd021ca9e744a14ef0ee.tar.xz |
(svn r4524) - Codechange: Use GB() macros for getting the saveload file/memory types
Diffstat (limited to 'saveload.h')
-rw-r--r-- | saveload.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/saveload.h b/saveload.h index fd815fc3a..1a7fc82e2 100644 --- a/saveload.h +++ b/saveload.h @@ -250,7 +250,7 @@ static inline bool SlIsObjectCurrentlyValid(uint16 version_from, uint16 version_ * @return return the SLE_VAR_* part of a variable-type description */ static inline VarType GetVarMemType(VarType type) { - return type & 0xF0; // GB(type, 4, 8) << 4; + return type & 0xF0; // GB(type, 4, 4) << 4; } /* Get the FileType of a setting. This describes the integer type |