Codechange: use commented out code, or guard by #ifdef

This commit is contained in:
Rubidium
2023-01-26 22:49:57 +01:00
committed by rubidium42
parent ae422be979
commit 5863d78cb4
2 changed files with 9 additions and 7 deletions

View File

@@ -1067,7 +1067,7 @@ static inline bool SlIsObjectCurrentlyValid(SaveLoadVersion version_from, SaveLo
*/
static inline VarType GetVarMemType(VarType type)
{
return type & 0xF0; // GB(type, 4, 4) << 4;
return GB(type, 4, 4) << 4;
}
/**
@@ -1078,7 +1078,7 @@ static inline VarType GetVarMemType(VarType type)
*/
static inline VarType GetVarFileType(VarType type)
{
return type & 0xF; // GB(type, 0, 4);
return GB(type, 0, 4);
}
/**