summaryrefslogtreecommitdiff
path: root/landscape.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
commitf2a70e3e26d2aeb75a63b60338bdd12f3046f5cd (patch)
tree4263fe6031c48fdc4b1ea0193275d0bff150ecf8 /landscape.c
parent0e10e86137b6a736494d4ba02f93909ee0666080 (diff)
downloadopenttd-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 'landscape.c')
0 files changed, 0 insertions, 0 deletions