]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - mvm_cmds.c
fix reflections not working when just reflective stuff, but no water, is on the map
[xonotic/darkplaces.git] / mvm_cmds.c
index 80ea17e256ad097cf675c1bbf59b7673469a508c..cef5830c09b207828a12b211d30cc10ca07763c8 100644 (file)
@@ -134,7 +134,7 @@ void VM_M_callfunction(void)
 
        VM_SAFEPARMCOUNTRANGE(1, 8, VM_M_callfunction);
 
-       s = PRVM_G_STRING(OFS_PARM0 + (prog->argc - 1));
+       s = PRVM_G_STRING(OFS_PARM0+(prog->argc - 1)*3);
 
        VM_CheckEmptyString(s);
 
@@ -1226,7 +1226,7 @@ VM_cin_setstate,                  // #463
 VM_cin_getstate,                       // #464
 VM_cin_restart,                        // #465
 VM_drawline,                           // #466
-NULL,                                          // #467
+VM_drawcolorcodedstring,       // #467
 NULL,                                          // #468
 NULL,                                          // #469
 NULL,                                          // #470