From cb434944885d5e5caa857deb3273712c4c223031 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 22 Apr 2012 16:28:09 +0000 Subject: (svn r24165) -Codechange: Split parts of static NewGRFClass::Assign() into non-static Insert(). --- src/newgrf_class.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/newgrf_class.h') diff --git a/src/newgrf_class.h b/src/newgrf_class.h index e1edefae6..df7734819 100644 --- a/src/newgrf_class.h +++ b/src/newgrf_class.h @@ -39,6 +39,8 @@ public: uint32 global_id; ///< Global ID for class, e.g. 'DFLT', 'WAYP', etc. StringID name; ///< Name of this class. + void Insert(Tspec *spec); + static void Reset(); static Tid Allocate(uint32 global_id); static void Assign(Tspec *spec); -- cgit v1.2.3-54-g00ecf