diff options
Diffstat (limited to 'src/script/api/script_object.hpp')
-rw-r--r-- | src/script/api/script_object.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/script/api/script_object.hpp b/src/script/api/script_object.hpp index 7c9e71460..4a39e618e 100644 --- a/src/script/api/script_object.hpp +++ b/src/script/api/script_object.hpp @@ -236,6 +236,11 @@ protected: */ static void *&GetLogPointer(); + /** + * Get an allocated string with all control codes stripped off. + */ + static char *GetString(StringID string); + private: /** * Store a new_vehicle_id per company. |