diff --git a/source/compiler/pawndisasm.c b/source/compiler/pawndisasm.c index de0cbc37..f5ec6f42 100644 --- a/source/compiler/pawndisasm.c +++ b/source/compiler/pawndisasm.c @@ -355,7 +355,7 @@ cell do_sysreq(FILE *ftxt,const cell *params,cell opcode,cell cip) cell do_switch(FILE *ftxt,const cell *params,cell opcode,cell cip) { print_opcode(ftxt,opcode,cip); - fprintf(ftxt,"%08"PRIxC"\n",*params+cip); + fprintf(ftxt,"%08"PRIxC"\n",*params); return 2; }