summaryrefslogtreecommitdiff
path: root/src/intro_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-24 21:13:36 +0000
committerrubidium <rubidium@openttd.org>2009-11-24 21:13:36 +0000
commit8d6e323ef80fcb49c4fc8417564d1e2ef7797a73 (patch)
treefdd555748c6ddc5afd2181becd1006e6c8375ced /src/intro_gui.cpp
parent3f0e1c9091bc13f82bcab6874f35d62f46987de5 (diff)
downloadopenttd-8d6e323ef80fcb49c4fc8417564d1e2ef7797a73.tar.xz
(svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input
Diffstat (limited to 'src/intro_gui.cpp')
-rw-r--r--src/intro_gui.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/intro_gui.cpp b/src/intro_gui.cpp
index 851d8d96f..6811af3b0 100644
--- a/src/intro_gui.cpp
+++ b/src/intro_gui.cpp
@@ -36,7 +36,6 @@ static inline void SetNewLandscapeType(byte landscape)
}
enum SelectGameIntroWidgets {
- SGI_BACKGROUND,
SGI_GENERATE_GAME,
SGI_LOAD_GAME,
SGI_PLAY_SCENARIO,
@@ -153,8 +152,7 @@ struct SelectGameWindow : public Window {
static const NWidgetPart _nested_select_game_widgets[] = {
NWidget(WWT_CAPTION, COLOUR_BROWN), SetDataTip(STR_INTRO_CAPTION, STR_NULL),
- NWidget(WWT_PANEL, COLOUR_BROWN, SGI_BACKGROUND),
-
+ NWidget(WWT_PANEL, COLOUR_BROWN),
NWidget(NWID_SPACER), SetMinimalSize(0, 8),
/* 'generate game' and 'load game' buttons */