diff options
author | Stijn Buys <ingar@osirion.org> | 2009-08-17 11:40:15 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-08-17 11:40:15 +0000 |
commit | 5636fad174f0bcff857c357c394c4cc8d424b302 (patch) | |
tree | d41807018da962a930ef087b73ce4ac89a90c6f8 /src/core/info.h | |
parent | 80aaacbaef16b4eba33428aec268f80e7466cbb1 (diff) |
reload entity/info models on r_restart
Diffstat (limited to 'src/core/info.h')
-rw-r--r-- | src/core/info.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/info.h b/src/core/info.h index 678c48d..1bc62a9 100644 --- a/src/core/info.h +++ b/src/core/info.h @@ -92,6 +92,9 @@ public: /// list the info registry static void list(); + /// the info registry + static inline Registry & registry() { return info_registry; } + private: std::string info_label; std::string info_name; @@ -99,7 +102,7 @@ private: Text info_text; long info_credits; - static Registry registry; + static Registry info_registry; unsigned long info_timestamp; }; |