]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
more _int changes, but these are only in the commented out integer
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 7 Jul 2009 19:22:28 +0000 (19:22 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 7 Jul 2009 19:22:28 +0000 (19:22 +0000)
support

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9047 d7cf8633-e32d-0410-b094-e92efae38249

prvm_execprogram.h

index 5e5cb3cf5385118d4e2b5fc50d8bec0bc1885898..17ea2fccca4b341d4789c05840f0275938c9b0ce 100644 (file)
                                        goto cleanup;
                                }
 #endif
-                               pr_globals[OPB->_int] = OPA->_float;
+                               pr_iglobals[OPB->_int] = OPA->_int;
                                break;
                        case OP_GSTOREP_V:
 #if PRBOUNDSCHECK
                                        goto cleanup;
                                }
 #endif
-                               OPC->_float = pr_globals[i];
+                               OPC->_int = pr_iglobals[i];
                                break;
 
                        case OP_GLOAD_I:
                                        goto cleanup;
                                }
 #endif
-                               OPC->_float = pr_globals[OPA->_int];
+                               OPC->_int = pr_iglobals[OPA->_int];
                                break;
 
                        case OP_GLOAD_V: