(svn r4524) - Codechange: Use GB() macros for getting the saveload file/memory types

This commit is contained in:
Darkvater
2006-04-22 12:40:25 +00:00
parent 28ddc4e45f
commit 6410eac6be
2 changed files with 3 additions and 3 deletions

View File

@@ -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