]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - pr_execprogram.h
added invpow (arbitrary logarithm, finds a power that the base number would need...
[xonotic/darkplaces.git] / pr_execprogram.h
index 33dc3e0a7e27f4b9904683aee336660444d21bfa..aef70e8428fe8da82965c288cd19382013ed1e92 100644 (file)
                                OPB->_int = OPA->_int;
                                break;
                        case OP_STORE_V:
-                               OPB->vector[0] = OPA->vector[0];
-                               OPB->vector[1] = OPA->vector[1];
-                               OPB->vector[2] = OPA->vector[2];
+                               OPB->ivector[0] = OPA->ivector[0];
+                               OPB->ivector[1] = OPA->ivector[1];
+                               OPB->ivector[2] = OPA->ivector[2];
                                break;
 
                        case OP_STOREP_F:
                                        // negative statements are built in functions
                                        if ((-newf->first_statement) >= pr_numbuiltins)
                                                Host_Error ("Bad builtin call number");
+                                       pr_xfunction->builtinsprofile++;
                                        pr_builtins[-newf->first_statement] ();
                                }
                                else