mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 16:30:43 +00:00
Avoid processing skins every frame.
Processing skins every frame would slow things down unnecessarily, so call the skin functions only when something changes.
This commit is contained in:
parent
6df8867d69
commit
4d66fc175a
5 changed files with 16 additions and 13 deletions
|
@ -81,6 +81,7 @@ typedef struct player_info_s
|
|||
int bottomcolor;
|
||||
struct info_key_s *skinname;
|
||||
struct info_key_s *team;
|
||||
struct skin_s *skin;
|
||||
|
||||
int _topcolor;
|
||||
int _bottomcolor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue