#define REFDEFFLAG_TELEPORTED 1
#define REFDEFFLAG_JUMPING 2
-entity csqcplayer;
vector csqcplayer_origin, csqcplayer_velocity;
float csqcplayer_sequence, player_pmflags;
float csqcplayer_moveframe;
csqcplayer_status = CSQCPLAYERSTATUS_PREDICTED;
- // FIXME do we really NEED this? dead players have servercommandframe
- // == 0 and thus won't predict
+#if 0
+ // we don't need this
+ // darkplaces makes servercommandframe == 0 in these cases anyway
if (getstatf(STAT_HEALTH) <= 0)
{
csqcplayer_moveframe = clientcommandframe;
print("the Weird code path got hit\n");
return;
}
+#endif
if(csqcplayer_moveframe >= endframe)
{