diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-12 00:29:39 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-12 00:29:39 -0300 |
commit | 08126b77ca9def4524e3d58a48e7943263b29222 (patch) | |
tree | d61ccd8cbca7172ea834b548a021c927a8aedd81 /src/map/script.c | |
parent | afa8255e16445721ac6d33c09934914cc27e019c (diff) | |
download | hercules-08126b77ca9def4524e3d58a48e7943263b29222.tar.gz hercules-08126b77ca9def4524e3d58a48e7943263b29222.tar.bz2 hercules-08126b77ca9def4524e3d58a48e7943263b29222.tar.xz hercules-08126b77ca9def4524e3d58a48e7943263b29222.zip |
Mr. C Script Engine, I'm annoyed with this CI-only bug, could you please pretend you saw nothing?
Thanks.
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c index 7c03840c8..200cc2e1d 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -4416,7 +4416,7 @@ static void op_2num(struct script_state *st, int op, int i1, int i2) case C_LT: ret = (i1 < i2); break; case C_LE: ret = (i1 <= i2); break; case C_R_SHIFT: ret = i1>>i2; break; - case C_L_SHIFT: if (i1 < 0) { ShowError("Invalid left shift op=%s i1=%d i2=%d\n", script->op2name(op), i1, i2); script->reportsrc(st); script_pushnil(st); st->state = END; return; } else { ret = i1<<i2; } + case C_L_SHIFT: if (i1 < 0) { ShowDebug("Invalid left shift op=%s i1=%d i2=%d - This is fatal\n", script->op2name(op), i1, i2); script->reportsrc(st); script_pushnil(st); st->state = END; return; } else { ret = i1<<i2; } break; case C_DIV: case C_MOD: |