diff --git a/polymer/eduke32/source/config.c b/polymer/eduke32/source/config.c index 34e3f0f98..3ba4d5d87 100644 --- a/polymer/eduke32/source/config.c +++ b/polymer/eduke32/source/config.c @@ -614,7 +614,7 @@ void readsavenames(void) = =================== */ - +extern char *duke3dgrp; extern void check_player_color(int *color,int prev_color); int32 CONFIG_ReadSetup(void) @@ -651,6 +651,8 @@ int32 CONFIG_ReadSetup(void) SCRIPT_GetString(scripthandle, "Comm Setup","RTSName",&ud.rtsname[0]); + SCRIPT_GetString(scripthandle, "Misc","SelectedGRP",&duke3dgrp[0]); + SCRIPT_GetNumber(scripthandle, "Screen Setup", "Shadows",&ud.shadows); if (!NAM) @@ -929,7 +931,7 @@ void CONFIG_WriteSetup(void) SCRIPT_PutString(scripthandle, "Comm Setup","PlayerName",&myname[0]); SCRIPT_PutString(scripthandle, "Comm Setup","RTSName",&ud.rtsname[0]); - + SCRIPT_PutString(scripthandle, "Misc","SelectedGRP",&duke3dgrp[0]); { char commmacro[] = "CommbatMacro# "; diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 8a69baad4..2385c2696 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -8387,6 +8387,7 @@ void setup_rancid_net(char *fn) } qsort((char *)rancid_ip_strings, rancid_players, sizeof(rancid_ip_strings[0]), (int(*)(const void*,const void*))stringsort); + networkmode = 1; netparamcount = rancid_players; if (rancid_local_port_string[0] == '-') netparamcount++;