summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-17 11:25:12 +0000
committerrubidium <rubidium@openttd.org>2008-04-17 11:25:12 +0000
commitc7357bee943e564ba9f18193cad046a457311c81 (patch)
treea4ae9fea0bb270526f30f23cde32b8d18c57e8c1
parent2752568d61e8a25dfef3992edf8a8cc0ce821fca (diff)
downloadopenttd-c7357bee943e564ba9f18193cad046a457311c81.tar.xz
(svn r12750) -Fix (r12749): viewport for industry new messages was not shown properly.
-rw-r--r--src/news_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp
index 07c25cfa6..248496585 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -60,7 +60,7 @@ static NewsID _current_news = INVALID_NEWS; ///< points to news item that should
static NewsID _oldest_news = 0; ///< points to first item in fifo queue
static NewsID _latest_news = INVALID_NEWS; ///< points to last item in fifo queue
-struct news_d {
+struct news_d : vp_d {
uint16 follow_vehicle;
int32 scrollpos_x;
int32 scrollpos_y;