mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Save the GRP file selected in the startup window to the cfg
git-svn-id: https://svn.eduke32.com/eduke32@374 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e35a1bdc33
commit
0d22a2a208
2 changed files with 5 additions and 2 deletions
|
@ -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# ";
|
||||
|
||||
|
|
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue