summaryrefslogtreecommitdiff
path: root/src
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
commit5796fb3b349d6f8f311d79b397faa0caf1865f98 (patch)
treea4ae9fea0bb270526f30f23cde32b8d18c57e8c1 /src
parentc31287206dd2037ba83377d09d529d14c56a6291 (diff)
downloadopenttd-5796fb3b349d6f8f311d79b397faa0caf1865f98.tar.xz
(svn r12750) -Fix (r12749): viewport for industry new messages was not shown properly.
Diffstat (limited to 'src')
-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;