summaryrefslogtreecommitdiff
path: root/src/newgrf_class.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-04-22 16:28:04 +0000
committerfrosch <frosch@openttd.org>2012-04-22 16:28:04 +0000
commit48c44a8d213d65fcd9459fc85e6d7c30427e9d54 (patch)
tree9a822d9ed891a3e370be4ca587fa688473e61edb /src/newgrf_class.h
parentb3c84fcbbd1983676eb0eae2079042580f4c78e6 (diff)
downloadopenttd-48c44a8d213d65fcd9459fc85e6d7c30427e9d54.tar.xz
(svn r24164) -Codechange: Split parts of static NewGRFClass::Reset() into non-static ResetClass().
Diffstat (limited to 'src/newgrf_class.h')
-rw-r--r--src/newgrf_class.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf_class.h b/src/newgrf_class.h
index a7b8099ad..e1edefae6 100644
--- a/src/newgrf_class.h
+++ b/src/newgrf_class.h
@@ -30,6 +30,8 @@ private:
*/
static NewGRFClass<Tspec, Tid, Tmax> classes[Tmax];
+ void ResetClass();
+
/** Initialise the defaults. */
static void InsertDefaults();