From 23a46a301e1d5c8d661bf0f823fbf5d29516a692 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Fri, 3 Aug 2007 09:08:49 +0000 Subject: (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. --- src/openttd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/openttd.cpp') 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" -- cgit v1.2.3-54-g00ecf