From 8ec1a03c65d262187a9ad0d21976ac65c60acf66 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Fri, 6 Sep 2013 19:49:29 -0300 Subject: Fixing script constants with ' made possible thanks to Haruna Signed-off-by: shennetsind --- src/map/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map') 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 -- cgit v1.2.3-60-g2f50