mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
don't call the packet acker when running a demo
This commit is contained in:
parent
3a9191760f
commit
3b5969df1e
3 changed files with 7 additions and 7 deletions
|
@ -268,7 +268,8 @@ Model_NextDownload (void)
|
|||
return; // started a download
|
||||
}
|
||||
|
||||
Netchan_AckPacket (&cls.netchan);
|
||||
if (!cls.demoplayback)
|
||||
Netchan_AckPacket (&cls.netchan);
|
||||
|
||||
for (i = 1; i < MAX_MODELS; i++) {
|
||||
char *info_key = 0;
|
||||
|
@ -350,7 +351,8 @@ Sound_NextDownload (void)
|
|||
return; // started a download
|
||||
}
|
||||
|
||||
Netchan_AckPacket (&cls.netchan);
|
||||
if (!cls.demoplayback)
|
||||
Netchan_AckPacket (&cls.netchan);
|
||||
|
||||
for (i = 1; i < MAX_SOUNDS; i++) {
|
||||
if (!cl.sound_name[i][0])
|
||||
|
|
|
@ -80,7 +80,8 @@ Skin_NextDownload (void)
|
|||
return; // started a download
|
||||
}
|
||||
|
||||
Netchan_AckPacket (&cls.netchan);
|
||||
if (!cls.demoplayback)
|
||||
Netchan_AckPacket (&cls.netchan);
|
||||
|
||||
cls.downloadtype = dl_none;
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue