Codechange: [NewGRF] Replace magic number for default object size by a constant.

This commit is contained in:
Michael Lutz
2022-10-16 17:05:50 +02:00
parent e604b76d18
commit bd357656ba
2 changed files with 4 additions and 2 deletions

View File

@@ -40,6 +40,8 @@ enum ObjectFlags {
};
DECLARE_ENUM_AS_BIT_SET(ObjectFlags)
static const uint8 OBJECT_SIZE_1X1 = 0x11; ///< The value of a NewGRF's size property when the object is 1x1 tiles: low nibble for X, high nibble for Y.
void ResetObjects();
/** Class IDs for objects. */