[PATCH] Trivial whitespace / comment cleanups

o Unnecessary braces in IN_UpdateClipCursor
o Remove old commented out line in CL_PlayDemo_f
o Minor whitespace tidy in Host_ShutdownServer and SV_RunThink

Signed-off-by: Tyrann <tyrann@disenchant.net>
This commit is contained in:
Tyrann 2008-04-26 18:38:34 +09:30
parent 27126992b1
commit aea736795c
4 changed files with 3 additions and 7 deletions

View File

@ -310,8 +310,6 @@ CL_PlayDemo_f(void)
if (neg)
cls.forcetrack = -cls.forcetrack;
// ZOID, fscanf is evil
// fscanf (cls.demofile, "%i\n", &cls.forcetrack);
}
struct stree_root *

View File

@ -461,8 +461,7 @@ Host_ShutdownServer(qboolean crash)
}
if ((Sys_DoubleTime() - start) > 3.0)
break;
}
while (count);
} while (count);
// make sure all the clients know we're disconnecting
buf.data = message;

View File

@ -142,6 +142,7 @@ SV_RunThink(edict_t *ent)
pr_global_struct->self = EDICT_TO_PROG(ent);
pr_global_struct->other = EDICT_TO_PROG(sv.edicts);
PR_ExecuteProgram(ent->v.think);
return !ent->free;
}

View File

@ -191,10 +191,8 @@ IN_UpdateClipCursor
void
IN_UpdateClipCursor(void)
{
if (mouseinitialized && mouseactive && !dinput) {
if (mouseinitialized && mouseactive && !dinput)
ClipCursor(&window_rect);
}
}