DEADSOFTWARE

fix slope interpolation; add r_maxfps
[d2df-sdl.git] / src / game / g_console.pas
index 806c73f098e08e38746a65891a0b8c9c717a1128..fa7d2db4202c5cc1544fc2acdf772b51329bbb68 100644 (file)
@@ -953,6 +953,7 @@ begin
   AddCommand('quit', SystemCommands);
   AddCommand('exit', SystemCommands);
   AddCommand('r_reset', SystemCommands);
+  AddCommand('r_maxfps', SystemCommands);
   AddCommand('g_language', SystemCommands);
 
   AddCommand('bind', BindCommands);
@@ -2053,6 +2054,7 @@ begin
   WriteLn(f, 'sv_passwd ', QuoteStr(NetPassword));
   WriteLn(f, 'sv_maxplrs ', NetMaxClients);
   WriteLn(f, 'sv_port ', NetPort);
+  WriteLn(f, 'sv_public ', IfThen(NetUseMaster, 1, 0));
 
   // game settings
   WriteLn(f, 'g_max_particles ', g_GFX_GetMax());