diff options
author | Patric Stout <truebrain@openttd.org> | 2021-03-09 20:29:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 20:29:22 +0100 |
commit | 68e92d215a865f9e3420d0a6bfb8ccbc1241c63e (patch) | |
tree | 47900763e33921f6a4af9264267bdd21bb7e24ba /src/music/cocoa_m.cpp | |
parent | 65f558d6df6d4885372e57cdda0f55b9cdb42286 (diff) | |
download | openttd-68e92d215a865f9e3420d0a6bfb8ccbc1241c63e.tar.xz |
Fix #8810: "aircraft out of fuel" news was looking in the wrong place (#8832)
v->tile for aircrafts is always zero when in the air. Only when
it starts its landing (or take-off) patterns it becomes a sane
value.
So instead, base the news on the last x/y coordinates of the plane.
Diffstat (limited to 'src/music/cocoa_m.cpp')
0 files changed, 0 insertions, 0 deletions