[iortcw] 107/497: MP: Fix falling back to unpure QVM

2017-09-08 Thread Simon McVittie
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: zturtle...@gmail.com 

Date:   Sun May 4 03:05:53 2014 +

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

___
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits


[iortcw] 107/497: MP: Fix falling back to unpure QVM

2016-09-21 Thread Simon McVittie
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: zturtle...@gmail.com 

Date:   Sun May 4 03:05:53 2014 +

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

___
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits