forked from mirror/OpenTTD
(svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x variables (using var 7B). Currently most useful for vehicle var 60.
This commit is contained in:
@@ -38,7 +38,7 @@ RandomizedSpriteGroup::~RandomizedSpriteGroup()
|
||||
TemporaryStorageArray<int32, 0x110> _temp_store;
|
||||
|
||||
|
||||
static inline uint32 GetVariable(const ResolverObject *object, byte variable, byte parameter, bool *available)
|
||||
static inline uint32 GetVariable(const ResolverObject *object, byte variable, uint32 parameter, bool *available)
|
||||
{
|
||||
/* First handle variables common with Action7/9/D */
|
||||
uint32 value;
|
||||
|
Reference in New Issue
Block a user