summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-08-16 09:20:25 +0000
committeralberth <alberth@openttd.org>2009-08-16 09:20:25 +0000
commitb03e758d2577b17c31a443b9423440bc3c8dfbaf (patch)
tree1f81f94e74daa1d2e4ac2295579174b8e3dfe46a /src/news_gui.cpp
parentcb8690d898e3b6b2256cecb1e242de607628b5a3 (diff)
downloadopenttd-b03e758d2577b17c31a443b9423440bc3c8dfbaf.tar.xz
(svn r17202) -Codechange: News item is already given as argument.
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r--src/news_gui.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp
index 7f3fe4294..4b4f03189 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -190,7 +190,6 @@ struct NewsWindow : Window {
const Window *w = FindWindowById(WC_SEND_NETWORK_MSG, 0);
this->chat_height = (w != NULL) ? w->height : 0;
- this->ni = _forced_news == NULL ? _current_news : _forced_news;
this->flags4 |= WF_DISABLE_VP_SCROLL;
this->FindWindowPlacementAndResize(desc);