mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
VarAction2: Use scaled tick counter for NewGRF variable 0x0A
This commit is contained in:
parent
d69bb5f511
commit
9038c849ab
@ -7210,7 +7210,7 @@ bool GetGlobalVariable(byte param, uint32 *value, const GRFFile *grffile)
|
||||
return true;
|
||||
|
||||
case 0x0A: // animation counter
|
||||
*value = GB(_tick_counter, 0, 16);
|
||||
*value = GB(_scaled_tick_counter, 0, 16);
|
||||
return true;
|
||||
|
||||
case 0x0B: { // TTDPatch version
|
||||
|
Loading…
Reference in New Issue
Block a user