DEADSOFTWARE

slightly faster map reloading on restart; enabled "--game-scale" cli arg in non-debug...
[d2df-sdl.git] / src / game / g_window.pas
index 5f04992969bd4ace2b25683a447b5613f5caa877..71ec201bb1f9722cf39354213938eec54b9736d9 100644 (file)
@@ -48,7 +48,7 @@ implementation
 uses
 {$IFDEF WINDOWS}Windows,{$ENDIF}
   SysUtils, Classes, MAPDEF,
-  SDL2, GL, GLExt, e_graphics, e_log, g_main,
+  SDL2, GL, GLExt, e_graphics, e_log, e_texture, g_main,
   g_console, e_input, g_options, g_game,
   g_basic, g_textures, e_sound, g_sound, g_menu, ENet, g_net,
   g_map, g_gfx, g_monsters, g_holmes, xprofiler, utils;
@@ -865,7 +865,6 @@ begin
       end;
     end;
 
-    {$IF DEFINED(D2F_DEBUG)}
     if (arg = '--game-scale') or (arg = '-game-scale') then
     begin
       if (idx <= ParamCount) then
@@ -874,7 +873,6 @@ begin
         Inc(idx);
       end;
     end;
-    {$ENDIF}
 
     if (arg = '--write-mapdef') or (arg = '-write-mapdef') then
     begin