summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-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 9db770405..dfe1fb28c 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -1089,7 +1089,7 @@ const char* parse_variable(const char* p)
|| ( p[0] == '%' && p[1] == '=' && (type = C_MOD) ) // %=
|| ( p[0] == '~' && p[1] == '=' && (type = C_NOT) ) // ~=
|| ( p[0] == '+' && p[1] == '+' && (type = C_ADD_PP) ) // ++
- || ( p[0] == '-' && p[1] == '+' && (type = C_SUB_PP) ) // --
+ || ( p[0] == '-' && p[1] == '-' && (type = C_SUB_PP) ) // --
|| ( p[0] == '<' && p[1] == '<' && p[2] == '=' && (type = C_L_SHIFT) ) // <<=
|| ( p[0] == '>' && p[1] == '>' && p[2] == '=' && (type = C_R_SHIFT) ) // >>=
) )