[iortcw] 107/497: MP: Fix falling back to unpure QVM
Simon McVittie
smcv at debian.org
Fri Sep 8 10:36:33 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to annotated tag 1.42d
in repository iortcw.
commit 04dc0412cd9abfcfaa9ebffe4d3376019766f3b8
Author: ZTurtleMan at gmail.com <ZTurtleMan at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date: Sun May 4 03:05:53 2014 +0000
MP: Fix falling back to unpure QVM
If unable to load pure VM, VM_Create tries unpure. Now actually allow reading the unpure QVM instead of printing a warning and failing to load VM.
---
MP/code/qcommon/vm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MP/code/qcommon/vm.c b/MP/code/qcommon/vm.c
index 3bf200e..5cf2c84 100644
--- a/MP/code/qcommon/vm.c
+++ b/MP/code/qcommon/vm.c
@@ -634,7 +634,7 @@ vm_t *VM_Create( const char *module, intptr_t (*systemCalls)(intptr_t *),
if(retval == VMI_COMPILED)
{
vm->searchPath = startSearch;
- if((header = VM_LoadQVM(vm, qtrue, qfalse)))
+ if((header = VM_LoadQVM(vm, qtrue, !pureVM)))
break;
// VM_Free overwrites the name on failed load
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git
More information about the Pkg-games-commits
mailing list