mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-03 14:41:01 +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
|
return; // started a download
|
||||||
}
|
}
|
||||||
|
|
||||||
Netchan_AckPacket (&cls.netchan);
|
if (!cls.demoplayback)
|
||||||
|
Netchan_AckPacket (&cls.netchan);
|
||||||
|
|
||||||
for (i = 1; i < MAX_MODELS; i++) {
|
for (i = 1; i < MAX_MODELS; i++) {
|
||||||
char *info_key = 0;
|
char *info_key = 0;
|
||||||
|
@ -350,7 +351,8 @@ Sound_NextDownload (void)
|
||||||
return; // started a download
|
return; // started a download
|
||||||
}
|
}
|
||||||
|
|
||||||
Netchan_AckPacket (&cls.netchan);
|
if (!cls.demoplayback)
|
||||||
|
Netchan_AckPacket (&cls.netchan);
|
||||||
|
|
||||||
for (i = 1; i < MAX_SOUNDS; i++) {
|
for (i = 1; i < MAX_SOUNDS; i++) {
|
||||||
if (!cl.sound_name[i][0])
|
if (!cl.sound_name[i][0])
|
||||||
|
|
|
@ -80,7 +80,8 @@ Skin_NextDownload (void)
|
||||||
return; // started a download
|
return; // started a download
|
||||||
}
|
}
|
||||||
|
|
||||||
Netchan_AckPacket (&cls.netchan);
|
if (!cls.demoplayback)
|
||||||
|
Netchan_AckPacket (&cls.netchan);
|
||||||
|
|
||||||
cls.downloadtype = dl_none;
|
cls.downloadtype = dl_none;
|
||||||
|
|
||||||
|
|
|
@ -534,9 +534,7 @@ PM_AirMove (void)
|
||||||
// add gravity
|
// add gravity
|
||||||
pmove.velocity[2] -= movevars.entgravity * movevars.gravity *
|
pmove.velocity[2] -= movevars.entgravity * movevars.gravity *
|
||||||
frametime;
|
frametime;
|
||||||
#if 0
|
|
||||||
PM_FlyMove ();
|
|
||||||
#else
|
|
||||||
if (!PM_FlyMove ()) {
|
if (!PM_FlyMove ()) {
|
||||||
// the move didn't get blocked
|
// the move didn't get blocked
|
||||||
PM_CategorizePosition ();
|
PM_CategorizePosition ();
|
||||||
|
@ -554,7 +552,6 @@ PM_AirMove (void)
|
||||||
VectorCopy (original, pmove.origin);
|
VectorCopy (original, pmove.origin);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue