diff --git a/sourcepawn/vm/jit/x86/jit_x86.cpp b/sourcepawn/vm/jit/x86/jit_x86.cpp index d6d473ce..b4b39f59 100644 --- a/sourcepawn/vm/jit/x86/jit_x86.cpp +++ b/sourcepawn/vm/jit/x86/jit_x86.cpp @@ -1210,6 +1210,8 @@ inline void WriteOp_Switch(JitWriter *jit) if (!num_cases) { /* Special treatment for 0 cases */ + //jmp + IA32_Jump_Imm32_Abs(jit, RelocLookup(jit, *tbl, false)); } else { /* Check if the case layout is fully sequential */ casetbl *iter = (casetbl *)(tbl + 1);