X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=sv_phys.c;h=44daad484fb76a6f71e365262ace067955a68b8b;hb=fd45bd4899b44762391909eaab9208c1f2673a35;hp=2bb5b43987808ac765dfe3ce956d145a4826e651;hpb=13c1d552ff7381495a054f253585471c4e7f4d56;p=xonotic%2Fdarkplaces.git diff --git a/sv_phys.c b/sv_phys.c index 2bb5b439..44daad48 100644 --- a/sv_phys.c +++ b/sv_phys.c @@ -103,12 +103,12 @@ void SV_CheckVelocity (edict_t *ent) { if (IS_NAN(ent->v->velocity[i])) { - Con_Printf ("Got a NaN velocity on %s\n", pr_strings + ent->v->classname); + Con_Printf ("Got a NaN velocity on %s\n", PR_GetString(ent->v->classname)); ent->v->velocity[i] = 0; } if (IS_NAN(ent->v->origin[i])) { - Con_Printf ("Got a NaN origin on %s\n", pr_strings + ent->v->classname); + Con_Printf ("Got a NaN origin on %s\n", PR_GetString(ent->v->classname)); ent->v->origin[i] = 0; } }