mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
[gamecode] Fix relative offset jumps
Yet another missed sign extension.
This commit is contained in:
parent
4777f44ba1
commit
5de4c21557
1 changed files with 1 additions and 1 deletions
|
@ -1804,7 +1804,7 @@ pr_jump_mode (progs_t *pr, const dstatement_t *st)
|
|||
switch (jump_ind) {
|
||||
case 0:
|
||||
// instruction relative offset
|
||||
jump_offs = jump_offs + st->a;
|
||||
jump_offs = jump_offs + (short) st->a;
|
||||
break;
|
||||
case 1:
|
||||
// simple pointer dereference: *a
|
||||
|
|
Loading…
Reference in a new issue