Small non-serious fix.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@672 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
c58a179f87
commit
728047da7b
1 changed files with 2 additions and 0 deletions
|
@ -537,6 +537,8 @@ static void inline QVM_Call(qvm_t *vm, int addr)
|
|||
|
||||
vm->sp[0]=(long)(vm->pc-vm->cs); // push pc /return address/
|
||||
vm->pc=vm->cs+addr*2;
|
||||
if (!vm->pc)
|
||||
Sys_Error("VM run time error: program called the void\n");
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue