]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_cmds.c
eliminated dependency on quakedef.h, this file now compile standalone without any...
[xonotic/darkplaces.git] / prvm_cmds.c
index 887192dda0456c79ae645688cebc4a9ec1a70561..3e4a4aff046977c54700765aeaf054f0890315f8 100644 (file)
@@ -3596,7 +3596,9 @@ void VM_changeyaw (void)
        prvm_edict_t            *ent;
        float           ideal, current, move, speed;
 
-       VM_SAFEPARMCOUNT(0, VM_changeyaw);
+       // this is called (VERY HACKISHLY) by SV_MoveToGoal, so it can not use any
+       // parameters because they are the parameters to SV_MoveToGoal, not this
+       //VM_SAFEPARMCOUNT(0, VM_changeyaw);
 
        ent = PRVM_PROG_TO_EDICT(PRVM_GLOBALFIELDVALUE(prog->globaloffsets.self)->edict);
        if (ent == prog->edicts)