don't call the packet acker when running a demo

This commit is contained in:
Bill Currie 2001-09-07 03:49:30 +00:00
parent 3a9191760f
commit 3b5969df1e
3 changed files with 7 additions and 7 deletions

View file

@ -268,6 +268,7 @@ Model_NextDownload (void)
return; // started a download
}
if (!cls.demoplayback)
Netchan_AckPacket (&cls.netchan);
for (i = 1; i < MAX_MODELS; i++) {
@ -350,6 +351,7 @@ Sound_NextDownload (void)
return; // started a download
}
if (!cls.demoplayback)
Netchan_AckPacket (&cls.netchan);
for (i = 1; i < MAX_SOUNDS; i++) {

View file

@ -80,6 +80,7 @@ Skin_NextDownload (void)
return; // started a download
}
if (!cls.demoplayback)
Netchan_AckPacket (&cls.netchan);
cls.downloadtype = dl_none;

View file

@ -534,9 +534,7 @@ PM_AirMove (void)
// add gravity
pmove.velocity[2] -= movevars.entgravity * movevars.gravity *
frametime;
#if 0
PM_FlyMove ();
#else
if (!PM_FlyMove ()) {
// the move didn't get blocked
PM_CategorizePosition ();
@ -554,7 +552,6 @@ PM_AirMove (void)
VectorCopy (original, pmove.origin);
}
}
#endif
}
}