From: havoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Date: Tue, 7 Jul 2009 19:22:28 +0000 (+0000)
Subject: more _int changes, but these are only in the commented out integer
X-Git-Tag: xonotic-v0.1.0preview~1580
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=323b17db9329c0c4e1f3832f9cacf9102659b7c5;p=xonotic%2Fdarkplaces.git

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

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: