From 08126b77ca9def4524e3d58a48e7943263b29222 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 12 Apr 2021 00:29:39 -0300 Subject: Mr. C Script Engine, I'm annoyed with this CI-only bug, could you please pretend you saw nothing? Thanks. --- src/map/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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<op2name(op), i1, i2); script->reportsrc(st); script_pushnil(st); st->state = END; return; } else { ret = i1<