summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorepoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-27 17:09:10 +0000
committerepoque11 <epoque11@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-04-27 17:09:10 +0000
commit7a8b5579f12db713527886bae7299992c59bca6b (patch)
treef0907f6695e742636f48320731ce3aabf6d00f01 /src/map
parentceae8e59d6eb9601b2cb4e886a0aeb3f6354f738 (diff)
downloadhercules-7a8b5579f12db713527886bae7299992c59bca6b.tar.gz
hercules-7a8b5579f12db713527886bae7299992c59bca6b.tar.bz2
hercules-7a8b5579f12db713527886bae7299992c59bca6b.tar.xz
hercules-7a8b5579f12db713527886bae7299992c59bca6b.zip
- Fixed typo for the -- operator (follow-up to r15982)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15985 54d463be-8e91-2dee-dedb-b68131a5f0ec
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 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) ) // >>=
) )