From 5636fad174f0bcff857c357c394c4cc8d424b302 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 17 Aug 2009 11:40:15 +0000 Subject: reload entity/info models on r_restart --- src/core/info.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/core/info.h') 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; }; -- cgit v1.2.3