diff options
author | rubidium <rubidium@openttd.org> | 2014-09-06 17:30:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-09-06 17:30:33 +0000 |
commit | 7c4e9dd71d6f02f686c52551ccdcc27b89ef8025 (patch) | |
tree | 7556a992183a12029525bf9ed3f6be8ced9d9dc8 /src/script/squirrel.hpp | |
parent | 3f9525ff0ecb5a12ca8635b88691154c293c4d8f (diff) | |
download | openttd-7c4e9dd71d6f02f686c52551ccdcc27b89ef8025.tar.xz |
(svn r26771) -Cleanup: remove OTTD2SQ and SQ2OTTD
Diffstat (limited to 'src/script/squirrel.hpp')
-rw-r--r-- | src/script/squirrel.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/squirrel.hpp b/src/script/squirrel.hpp index 4fdde85a1..9e1d113a8 100644 --- a/src/script/squirrel.hpp +++ b/src/script/squirrel.hpp @@ -199,7 +199,7 @@ public: /** * Convert a Squirrel-object to a string. */ - static const char *ObjectToString(HSQOBJECT *ptr) { return SQ2OTTD(sq_objtostring(ptr)); } + static const char *ObjectToString(HSQOBJECT *ptr) { return sq_objtostring(ptr); } /** * Convert a Squirrel-object to an integer. @@ -230,7 +230,7 @@ public: /** * Throw a Squirrel error that will be nicely displayed to the user. */ - void ThrowError(const char *error) { sq_throwerror(this->vm, OTTD2SQ(error)); } + void ThrowError(const char *error) { sq_throwerror(this->vm, error); } /** * Release a SQ object. |