mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 07:20:50 +00:00
fix broken mvds (and probably qtv streams, for that matter)
This commit is contained in:
parent
d017b87c2b
commit
ac96f94658
3 changed files with 4 additions and 5 deletions
|
@ -75,6 +75,7 @@ qboolean NET_IsClientLegal(netadr_t *adr);
|
|||
|
||||
|
||||
int Net_Log_Init (const char **sound_precache);
|
||||
void Net_LogPrintf (const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
|
||||
void Log_Incoming_Packet (const char *p, int len, int has_sequence);
|
||||
void Log_Outgoing_Packet (const char *p, int len, int has_sequence);
|
||||
void Net_LogStop (void);
|
||||
|
|
|
@ -168,8 +168,6 @@ static const char **Net_sound_precache;
|
|||
static sizebuf_t _packet;
|
||||
static qmsg_t packet = {0, 0, &_packet};
|
||||
|
||||
static void Net_LogPrintf (const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
|
||||
|
||||
static int
|
||||
Net_LogStart (const char *fname)
|
||||
{
|
||||
|
@ -965,7 +963,7 @@ Net_Log_Init (const char **sound_precache)
|
|||
|
||||
Prints packet to logfile, adds time stamp etc.
|
||||
*/
|
||||
static void
|
||||
void
|
||||
Net_LogPrintf (const char *fmt, ...)
|
||||
{
|
||||
char text[2048];
|
||||
|
|
|
@ -430,8 +430,6 @@ write_datagram (recorder_t *r)
|
|||
write_msg (&msg, dem_all, 0, time, &dst);
|
||||
r->write (r->user, &dst, 0);
|
||||
}
|
||||
|
||||
rec.frames[rec.parsecount & DEMO_FRAMES_MASK].time = rec.time = sv.time;
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -591,6 +589,8 @@ SV_SendDemoMessage (void)
|
|||
}
|
||||
}
|
||||
|
||||
rec.frames[rec.parsecount & DEMO_FRAMES_MASK].time = rec.time = sv.time;
|
||||
|
||||
write_packet ();
|
||||
// send over all the objects that are in the PVS
|
||||
// this will include clients, a packetentities, and
|
||||
|
|
Loading…
Reference in a new issue