summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-09-14 08:11:53 +0200
committerHaru <haru@dotalux.com>2013-11-28 01:19:48 +0100
commit83d2d9343ab965c22816ac231973205ee67035e1 (patch)
tree7c98037e39c6ac941c48d47f544f1dae505fea73
parent4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6 (diff)
downloadhercules-83d2d9343ab965c22816ac231973205ee67035e1.tar.gz
hercules-83d2d9343ab965c22816ac231973205ee67035e1.tar.bz2
hercules-83d2d9343ab965c22816ac231973205ee67035e1.tar.xz
hercules-83d2d9343ab965c22816ac231973205ee67035e1.zip
Removed meaningless '~=' operator.
- [ This commit is part of a larger script engine related update ] - Since: c18f438 Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r--src/map/script.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 777179507..fd16bdbad 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -857,7 +857,6 @@ const char* parse_variable(const char* p) {
|| ( p[0] == '*' && p[1] == '=' && (type = C_MUL) ) // *=
|| ( p[0] == '/' && p[1] == '=' && (type = C_DIV) ) // /=
|| ( 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] == '<' && p[2] == '=' && (type = C_L_SHIFT) ) // <<=