From d961d235a56b52fd53e6592ba149251858caacc1 Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 12 Sep 2006 00:51:50 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@293 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/config.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/polymer/eduke32/source/config.c b/polymer/eduke32/source/config.c index a1541dc60..9e0e81b50 100644 --- a/polymer/eduke32/source/config.c +++ b/polymer/eduke32/source/config.c @@ -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;