whitespace

This commit is contained in:
Bill Currie 2004-02-24 20:58:30 +00:00
parent beeb1822b3
commit 9878966625
2 changed files with 6 additions and 8 deletions

View file

@ -125,7 +125,7 @@ void DemoWrite_Begin (byte type, int to, int size);
void SV_DemoWritePackets (int num);
void SV_Stop_f (void);
void SV_Stop (int reason);
void DemoSetMsgBuf (demobuf_t * prev, demobuf_t * cur);
void DemoSetMsgBuf (demobuf_t *prev, demobuf_t *cur);
void Demo_Init (void);
void SV_DemoPings (void);
void SV_WriteDemoMessage (sizebuf_t *msg, int type, int to, float time);

View file

@ -106,7 +106,7 @@ SV_DemoPings (void)
}
static void
DemoBuffer_Init (dbuffer_t * dbuffer, byte * buf, size_t size)
DemoBuffer_Init (dbuffer_t *dbuffer, byte *buf, size_t size)
{
demobuffer = dbuffer;
@ -124,7 +124,7 @@ DemoBuffer_Init (dbuffer_t * dbuffer, byte * buf, size_t size)
*/
void
DemoSetMsgBuf (demobuf_t * prev, demobuf_t * cur)
DemoSetMsgBuf (demobuf_t *prev, demobuf_t *cur)
{
// fix the maxsize of previous msg buffer,
// we won't be able to write there anymore
@ -222,7 +222,7 @@ DemoSetBuf (byte type, int to)
(byte *) p = p->data + p->size;
}
// type&&to not exist in the buf, so add it
// type && to not exist in the buf, so add it
p->type = type;
p->to = to;
@ -763,12 +763,10 @@ SV_PrintTeams (void)
// create output
if (numcl == 2) // duel
{
if (numcl == 2) { // duel
dsprintf (buffer, "team1 %s\nteam2 %s\n", clients[0]->name,
clients[1]->name);
} else if (!teamplay->int_val) // ffa
{
} else if (!teamplay->int_val) { // ffa
dsprintf (buffer, "players:\n");
for (i = 0; i < numcl; i++)
dasprintf (buffer, " %s\n", clients[i]->name);