summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-02-25 00:45:52 +0000
committeryexo <yexo@openttd.org>2009-02-25 00:45:52 +0000
commit7e818f0456b9e771786db9f7e9706a01e3243cf2 (patch)
tree0821775e819b64e32e518cdd87b874fb720c4d92 /src/genworld_gui.cpp
parentbd2544b5ead713fa327536fe577da74e5119db98 (diff)
downloadopenttd-7e818f0456b9e771786db9f7e9706a01e3243cf2.tar.xz
(svn r15576) -Codechange: rename SwitchModes to SwitchMode and don't hardcode the values for that enum.
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r--src/genworld_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp
index c98e05ad9..49b8bc633 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -39,7 +39,7 @@ enum glwp_modes {
GLWP_END
};
-extern void SwitchMode(int new_mode);
+extern void SwitchToMode(SwitchMode new_mode);
extern void MakeNewgameSettingsLive();
static inline void SetNewLandscapeType(byte landscape)