summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-09-06 19:49:29 -0300
committershennetsind <ind@henn.et>2013-09-06 19:49:29 -0300
commit8ec1a03c65d262187a9ad0d21976ac65c60acf66 (patch)
tree119cf4b803274919074129ecd5854adb652dafeb /src/map
parent06c4fda610114d428ff5381dbe2c430442e12491 (diff)
downloadhercules-8ec1a03c65d262187a9ad0d21976ac65c60acf66.tar.gz
hercules-8ec1a03c65d262187a9ad0d21976ac65c60acf66.tar.bz2
hercules-8ec1a03c65d262187a9ad0d21976ac65c60acf66.tar.xz
hercules-8ec1a03c65d262187a9ad0d21976ac65c60acf66.zip
Fixing script constants with '
made possible thanks to Haruna Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 6413b9a60..1c67abd4a 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -721,7 +721,7 @@ static const char* skip_word(const char* p) {
p += ( p[1] == '@' ? 2 : 1 ); break;
}
- while( ISALNUM(*p) || *p == '_' )
+ while( ISALNUM(*p) || *p == '_' || *p == '\'' )
++p;
// postfix