From 765927f9f0e9ca751e1d94bd86aaf47200dcdb81 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 26 Sep 2010 14:55:35 +0000 Subject: moved trading definitions from station.ini to the zone.ini --- src/core/descriptions.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/descriptions.h') diff --git a/src/core/descriptions.h b/src/core/descriptions.h index 05e92af..b1b0901 100644 --- a/src/core/descriptions.h +++ b/src/core/descriptions.h @@ -58,7 +58,7 @@ public: } /// button info record - inline Info *info() { + inline const Info *info() const { return button_info; } @@ -74,14 +74,14 @@ public: void set_alignment(Align align); /// set info record - void set_info(Info *info); + void set_info(const Info *info); private: std::string button_text; CommandType button_commandtype; std::string button_command; Align button_align; - Info *button_info; + const Info *button_info; }; /// description of an entity menu -- cgit v1.2.3