mirror of https://github.com/OpenTTD/OpenTTD
(svn r21137) -Fix/revert-ish (r1385): station ratings weren't updated (anymore) after an aircraft crashed
parent
d1dfb27699
commit
72a6eeef26
|
@ -1150,6 +1150,7 @@ static void CrashAirplane(Aircraft *v)
|
||||||
v->index,
|
v->index,
|
||||||
st != NULL ? st->index : INVALID_STATION);
|
st != NULL ? st->index : INVALID_STATION);
|
||||||
|
|
||||||
|
ModifyStationRatingAround(v->tile, v->owner, -160, 30);
|
||||||
SndPlayVehicleFx(SND_12_EXPLOSION, v);
|
SndPlayVehicleFx(SND_12_EXPLOSION, v);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue