mirror of
https://github.com/libretro/libretro-tyrquake.git
synced 2025-04-01 10:11:49 +00:00
[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:
parent
27126992b1
commit
aea736795c
@ -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 *
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -191,10 +191,8 @@ IN_UpdateClipCursor
|
||||
void
|
||||
IN_UpdateClipCursor(void)
|
||||
{
|
||||
|
||||
if (mouseinitialized && mouseactive && !dinput) {
|
||||
if (mouseinitialized && mouseactive && !dinput)
|
||||
ClipCursor(&window_rect);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user