[iortcw] 100/497: MP: Fix pure argument for FS_FindVM

Simon McVittie smcv at debian.org
Fri Sep 8 10:36:32 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 2a905ca4e15d19e4691ca5d176199bb81074e2e0
Author: ZTurtleMan at gmail.com <ZTurtleMan at gmail.com@e65d2741-a53d-b2dc-ae96-bb75fa5e4c4a>
Date:   Sat May 3 21:55:13 2014 +0000

    MP: Fix pure argument for FS_FindVM
    
    pureVM argument was negated in r486.
---
 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 00e0936..6594598 100644
--- a/MP/code/qcommon/vm.c
+++ b/MP/code/qcommon/vm.c
@@ -629,7 +629,7 @@ vm_t *VM_Create( const char *module, intptr_t (*systemCalls)(intptr_t *),
 
 	do
 	{
-		retval = FS_FindVM(&startSearch, filename, sizeof(filename), module, pureVM, (interpret != VMI_NATIVE));
+		retval = FS_FindVM(&startSearch, filename, sizeof(filename), module, !pureVM, (interpret != VMI_NATIVE));
 		
 		if(retval == VMI_NATIVE)
 		{

-- 
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