git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6865
d7cf8633-e32d-0410-b094-
e92efae38249
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)
*/
static void VM_SV_checkbottom (void)
{
- VM_SAFEPARMCOUNT(0, VM_SV_checkbottom);
+ VM_SAFEPARMCOUNT(1, VM_SV_checkbottom);
PRVM_G_FLOAT(OFS_RETURN) = SV_CheckBottom (PRVM_G_EDICT(OFS_PARM0));
}