mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 00:10:40 +00:00
mirror the chase and watervis serverinfo keys in the cl struct so
Info_ValueForKey doesn't get hit so often.
This commit is contained in:
parent
e9c420c749
commit
7fcdffb42e
6 changed files with 20 additions and 8 deletions
|
@ -729,8 +729,7 @@ V_CalcRefdef (void)
|
|||
} else
|
||||
oldz = cl.simorg[2];
|
||||
|
||||
if (atoi (Info_ValueForKey (cl.serverinfo, "chase"))
|
||||
&& chase_active->int_val)
|
||||
if (cl.chase && chase_active->int_val)
|
||||
Chase_Update ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue