From 323b17db9329c0c4e1f3832f9cacf9102659b7c5 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 7 Jul 2009 19:22:28 +0000 Subject: [PATCH] more _int changes, but these are only in the commented out integer support git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9047 d7cf8633-e32d-0410-b094-e92efae38249 --- prvm_execprogram.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prvm_execprogram.h b/prvm_execprogram.h index 5e5cb3cf..17ea2fcc 100644 --- a/prvm_execprogram.h +++ b/prvm_execprogram.h @@ -554,7 +554,7 @@ goto cleanup; } #endif - pr_globals[OPB->_int] = OPA->_float; + pr_iglobals[OPB->_int] = OPA->_int; break; case OP_GSTOREP_V: #if PRBOUNDSCHECK @@ -582,7 +582,7 @@ goto cleanup; } #endif - OPC->_float = pr_globals[i]; + OPC->_int = pr_iglobals[i]; break; case OP_GLOAD_I: @@ -600,7 +600,7 @@ goto cleanup; } #endif - OPC->_float = pr_globals[OPA->_int]; + OPC->_int = pr_iglobals[OPA->_int]; break; case OP_GLOAD_V: -- 2.39.2