Changeset - r26354:6afe236dc292
[Not reviewed]
master
0 1 0
frosch - 21 months ago 2022-09-03 20:37:03
frosch@openttd.org
Fix: [NewGRF] Upper 16 random bits should be the same for all station tiles in callback 140. (#9992)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_station.cpp
Show inline comments
 
@@ -948,7 +948,7 @@ void TriggerStationAnimation(BaseStation
 
				} else {
 
					cargo = ss->grf_prop.grffile->cargo_map[cargo_type];
 
				}
 
				StationAnimationBase::ChangeAnimationFrame(CBID_STATION_ANIM_START_STOP, ss, st, tile, (random_bits << 16) | Random(), (uint8)trigger | (cargo << 8));
 
				StationAnimationBase::ChangeAnimationFrame(CBID_STATION_ANIM_START_STOP, ss, st, tile, (random_bits << 16) | GB(Random(), 0, 16), (uint8)trigger | (cargo << 8));
 
			}
 
		}
 
	}
0 comments (0 inline, 0 general)