mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
fix a thinko pointed out by zenja-b
This commit is contained in:
parent
8a237169c3
commit
e9f19be2bb
2 changed files with 2 additions and 2 deletions
|
@ -99,7 +99,7 @@ CL_UpdateScreen (double realtime)
|
|||
{
|
||||
unsigned index = cl.intermission;
|
||||
|
||||
if (index > sizeof (scr_funcs) / sizeof (scr_funcs[0]))
|
||||
if (index >= sizeof (scr_funcs) / sizeof (scr_funcs[0]))
|
||||
index = 0;
|
||||
|
||||
cl_wateralpha = r_wateralpha->value;
|
||||
|
|
|
@ -105,7 +105,7 @@ CL_UpdateScreen (double realtime)
|
|||
{
|
||||
unsigned index = cl.intermission;
|
||||
|
||||
if (index > sizeof (scr_funcs) / sizeof (scr_funcs[0]))
|
||||
if (index >= sizeof (scr_funcs) / sizeof (scr_funcs[0]))
|
||||
index = 0;
|
||||
|
||||
// don't allow cheats in multiplayer
|
||||
|
|
Loading…
Reference in a new issue