summaryrefslogtreecommitdiff
path: root/intro_gui.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-05-22 09:59:09 +0000
committerrubidium <rubidium@openttd.org>2006-05-22 09:59:09 +0000
commita6fc0e521d2fae329a7fc018a030744ca2160116 (patch)
treeb788c7edb4172ca828ca014a8c90ff94c47974a9 /intro_gui.c
parentd9e968e759b6b904f289d7f51aa60a511c220fa6 (diff)
downloadopenttd-a6fc0e521d2fae329a7fc018a030744ca2160116.tar.xz
(svn r4944) Codechange: make _patches_newgame available via settings.h and remove instances of extern Patches _patches_newgame in .c files
Diffstat (limited to 'intro_gui.c')
-rw-r--r--intro_gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/intro_gui.c b/intro_gui.c
index b3206efa0..3ebe9b361 100644
--- a/intro_gui.c
+++ b/intro_gui.c
@@ -10,6 +10,7 @@
#include "player.h"
#include "network.h"
#include "variables.h"
+#include "settings.h"
extern void SwitchMode(int new_mode);
@@ -54,7 +55,6 @@ static void SelectGameWndProc(Window *w, WindowEvent *e)
{
/* We do +/- 6 for the map_xy because 64 is 2^6, but it is the lowest available element */
static const StringID mapsizes[] = {STR_64, STR_128, STR_256, STR_512, STR_1024, STR_2048, INVALID_STRING_ID};
- extern Patches _patches_newgame;
switch (e->event) {
case WE_PAINT: