diff options
author | Darkvater <Darkvater@openttd.org> | 2006-12-05 23:37:04 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-12-05 23:37:04 +0000 |
commit | f2a70e3e26d2aeb75a63b60338bdd12f3046f5cd (patch) | |
tree | 4263fe6031c48fdc4b1ea0193275d0bff150ecf8 /airport.c | |
parent | 0e10e86137b6a736494d4ba02f93909ee0666080 (diff) | |
download | openttd-f2a70e3e26d2aeb75a63b60338bdd12f3046f5cd.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 'airport.c')
0 files changed, 0 insertions, 0 deletions