summaryrefslogtreecommitdiff
path: root/aircraft_gui.c
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-12-05 23:37:04 +0000
committerDarkvater <darkvater@openttd.org>2006-12-05 23:37:04 +0000
commitb461b8dbe5f95d7ee6329637e0ae1e0d05a96b56 (patch)
tree4263fe6031c48fdc4b1ea0193275d0bff150ecf8 /aircraft_gui.c
parent07ad5884871c9851eecbd9a86da00ac16ef640bd (diff)
downloadopenttd-b461b8dbe5f95d7ee6329637e0ae1e0d05a96b56.tar.xz
(svn r7388) -Fix (r7384 / r7368 / r3757): When adding a new news item for the first time (_latest_news
is INVALID_NEWS), make it the value of _oldest_news, not zero as DeleteVehicleNews can change _oldest_news. Also remove the (i == INVALID_NEWS) return 0; guard from increaseIndex as it's only used in 2 places, nowhere else.
Diffstat (limited to 'aircraft_gui.c')
0 files changed, 0 insertions, 0 deletions