summaryrefslogtreecommitdiff
path: root/src/newgrf_station.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2021-05-12 23:40:03 +0200
committerGitHub <noreply@github.com>2021-05-12 23:40:03 +0200
commit5bd81448539b63519d70ba85d4833e446f0597fe (patch)
tree83e12daed52b001914db9c0ec9089925b8b0e4de /src/newgrf_station.h
parentf6d5c0136e5ac130fd887daf1b07c13a160c7fc3 (diff)
downloadopenttd-5bd81448539b63519d70ba85d4833e446f0597fe.tar.xz
Fix #9256, 12e43c697d2: invalid read after free. (#9258)
This also changes ScriptEventVehicleAutoReplaced when replacing wagons: The event is now only spawned, if the head engine changes, so only if the VehicleID of the consist changes. Previously replacing wagons spawned an event with OldVehicleID==NewVehicleID.
Diffstat (limited to 'src/newgrf_station.h')
0 files changed, 0 insertions, 0 deletions