diff options
author | Darkvater <darkvater@openttd.org> | 2005-04-24 18:24:29 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-04-24 18:24:29 +0000 |
commit | 762b5f7a758782c7c4642378c1deceead41834b6 (patch) | |
tree | a16e4b4bdef8faa1addef5ec7eb702482da0844c | |
parent | 5d192d71505a1688a832a989d74b344f69866ba0 (diff) | |
download | openttd-762b5f7a758782c7c4642378c1deceead41834b6.tar.xz |
(svn r2227) - Fix (regression): [ 1188408 ] Fix news settings load check. When updating old news-message-types to new ones, certain combinations of new were wrongly recognized as old (glx)
-rw-r--r-- | settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.c b/settings.c index 0c285a2c0..e1d9dfd22 100644 --- a/settings.c +++ b/settings.c @@ -1061,7 +1061,7 @@ void CheckConfig(void) // fix up news_display_opt from old to new int i; uint32 tmp; - for (i = 0, tmp = _news_display_opt; i != 10; i++, tmp >>= 1) { + for (i = 0, tmp = _news_display_opt; i != 10; i++, tmp >>= 2) { if ((tmp & 0x3) == 0x3) { // old settings _news_display_opt = 0xAAAAAAAA; // set all news-messages to full 1010101010... break; |