mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@293 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
6db5e70888
commit
d961d235a5
1 changed files with 3 additions and 0 deletions
|
@ -577,6 +577,8 @@ void readsavenames(void)
|
|||
===================
|
||||
*/
|
||||
|
||||
extern void check_player_color(int *color,int prev_color);
|
||||
|
||||
int32 CONFIG_ReadSetup( void )
|
||||
{
|
||||
int32 dummy, i;
|
||||
|
@ -660,6 +662,7 @@ int32 CONFIG_ReadSetup( void )
|
|||
SCRIPT_GetNumber( scripthandle, "Misc", "DemoCams",&ud.democams);
|
||||
SCRIPT_GetNumber( scripthandle, "Misc", "ShowFPS",&ud.tickrate);
|
||||
SCRIPT_GetNumber( scripthandle, "Misc", "Color",&ud.color);
|
||||
check_player_color((int *)&ud.color,-1);
|
||||
ps[0].palookup = ud.pcolor[0] = ud.color;
|
||||
SCRIPT_GetNumber( scripthandle, "Misc", "Team",&ud.team);
|
||||
if(ud.team > 1) ud.team = 0;
|
||||
|
|
Loading…
Reference in a new issue