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 | b461b8dbe5f95d7ee6329637e0ae1e0d05a96b56 (patch) | |
tree | 4263fe6031c48fdc4b1ea0193275d0bff150ecf8 /table/unicode.h | |
parent | 07ad5884871c9851eecbd9a86da00ac16ef640bd (diff) | |
download | openttd-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 'table/unicode.h')
0 files changed, 0 insertions, 0 deletions