diff options
author | frosch <frosch@openttd.org> | 2012-04-22 16:28:09 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-04-22 16:28:09 +0000 |
commit | cb434944885d5e5caa857deb3273712c4c223031 (patch) | |
tree | fdf35b4e6c26e0b53b6b9aad8548dd2753a0b9dd /src/newgrf_class.h | |
parent | 48c44a8d213d65fcd9459fc85e6d7c30427e9d54 (diff) | |
download | openttd-cb434944885d5e5caa857deb3273712c4c223031.tar.xz |
(svn r24165) -Codechange: Split parts of static NewGRFClass::Assign() into non-static Insert().
Diffstat (limited to 'src/newgrf_class.h')
-rw-r--r-- | src/newgrf_class.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |