mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
qcvm: exit on error
This commit is contained in:
parent
c2cf41baf9
commit
3f151321f6
1 changed files with 1 additions and 1 deletions
2
exec.c
2
exec.c
|
@ -1256,7 +1256,7 @@ void prog_disasm_function(qc_program_t *prog, size_t id) {
|
|||
# define FLOAT_IS_TRUE_FOR_INT(x) ( (x) & 0x7FFFFFFF )
|
||||
#endif
|
||||
|
||||
while (1) {
|
||||
while (prog->vmerror == 0) {
|
||||
prog_section_function_t *newf;
|
||||
qcany_t *ed;
|
||||
qcany_t *ptr;
|
||||
|
|
Loading…
Reference in a new issue