VarAction2: Use scaled tick counter for NewGRF variable 0x0A

This commit is contained in:
Jonathan G Rennison 2022-12-15 18:39:47 +00:00
parent d69bb5f511
commit 9038c849ab

View File

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