summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-11 13:02:58 +0000
committerrubidium <rubidium@openttd.org>2008-05-11 13:02:58 +0000
commit9066a961e70a4d4a517583219fd63b25b3acf8dd (patch)
tree83c5a87989279c5da47250b5a73adfd355af50e1 /src/news_gui.cpp
parenteb2d47b547fe550b3e14d15e5b74cedf481bfe4e (diff)
downloadopenttd-9066a961e70a4d4a517583219fd63b25b3acf8dd.tar.xz
(svn r13043) -Codechange: remove some duplicate variables from news_d.
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r--src/news_gui.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp
index 0d01c8d42..33b1ff236 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -61,12 +61,7 @@ static NewsID _oldest_news = 0; ///< points to first item in fifo qu
static NewsID _latest_news = INVALID_NEWS; ///< points to last item in fifo queue
struct news_d : vp_d {
- uint16 follow_vehicle;
uint16 chat_height;
- int32 scrollpos_x;
- int32 scrollpos_y;
- int32 dest_scrollpos_x;
- int32 dest_scrollpos_y;
NewsItem *ni;
};
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(news_d));