summaryrefslogtreecommitdiff
path: root/src/sound/allegro_s.cpp
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-03-09 20:29:22 +0100
committerGitHub <noreply@github.com>2021-03-09 20:29:22 +0100
commit68e92d215a865f9e3420d0a6bfb8ccbc1241c63e (patch)
tree47900763e33921f6a4af9264267bdd21bb7e24ba /src/sound/allegro_s.cpp
parent65f558d6df6d4885372e57cdda0f55b9cdb42286 (diff)
downloadopenttd-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/sound/allegro_s.cpp')
0 files changed, 0 insertions, 0 deletions