VarAction2: Use scaled tick counter for NewGRF variable 0x0A

pull/461/head
Jonathan G Rennison 2 years ago
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…
Cancel
Save