summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-08-03 09:08:49 +0000
committerpeter1138 <peter1138@openttd.org>2007-08-03 09:08:49 +0000
commit616eb4134eac435bea86d738475f718309f7c5ea (patch)
treeb6337974657d183b3d4648de552643ab63470cc7 /src/openttd.cpp
parentd6c915e6a631b76bcb1459f2509a142298a2daf8 (diff)
downloadopenttd-616eb4134eac435bea86d738475f718309f7c5ea.tar.xz
(svn r10762) -Codechange: Change enum StringIDEnum { to static const StringID = for
each STR_ entry. This avoids the need for a cast to StringID in some places and thus better type-safety.
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r--src/openttd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp
index 757a79b45..2f5b4c8c9 100644
--- a/src/openttd.cpp
+++ b/src/openttd.cpp
@@ -5,7 +5,6 @@
#include "stdafx.h"
#define VARDEF
#include "string.h"
-#include "table/strings.h"
#include "debug.h"
#include "driver.h"
#include "saveload.h"
@@ -15,6 +14,7 @@
#include "helpers.hpp"
#include "openttd.h"
+#include "table/strings.h"
#include "strings.h"
#include "bridge_map.h"
#include "functions.h"