DEADSOFTWARE

animated textures loader simplified alot
[d2df-sdl.git] / src / game / g_options.pas
index bbaa0435d5a5078680024ed9ae9c3f21a2289ca3..c70af6d73b516d5de6c97bcee57749185afaf4f3 100644 (file)
@@ -1,3 +1,4 @@
+{$MODE DELPHI}
 unit g_options;
 
 interface
@@ -95,14 +96,14 @@ var
   gsSDLSampleRate: Integer    = 44100;
   gsSDLBufferSize: Integer    = 2048;
   gSFSDebug: Boolean          = False;
-  gSFSFastMode: Boolean       = True;
+  gSFSFastMode: Boolean       = False;
 
 implementation
 
 uses
   e_log, e_input, g_window, g_sound, g_gfx, g_player, Math,
   g_map, g_net, g_netmaster, SysUtils, CONFIG, g_game, g_main, e_textures,
-  g_items, GL, GLExt;
+  g_items, GL, GLExt, wadreader;
 
 procedure g_Options_SetDefault();
 var
@@ -334,7 +335,9 @@ begin
   gRevertPlayers := config.ReadBool('Game', 'RevertPlayers', False);
   gChatBubble := Min(Max(config.ReadInt('Game', 'ChatBubble', 4), 0), 4);
   gSFSDebug := config.ReadBool('Game', 'SFSDebug', False);
-  gSFSFastMode := config.ReadBool('Game', 'SFSFastMode', True);
+  wadoptDebug := gSFSDebug;
+  gSFSFastMode := config.ReadBool('Game', 'SFSFastMode', False);
+  wadoptFast := gSFSFastMode;
 
 // Ãåéìïëåé â ñâîåé èãðå
   gcMap := config.ReadStr('GameplayCustom', 'Map', '');