DEADSOFTWARE

game: less references to HEADLESS
[d2df-sdl.git] / src / game / opengl / r_game.pas
index 314c7e7ac21d663d3dc4ba4546f71f03143b52ed..6b25a4f69aa81c63b34fb3e30cc5402270810d81 100644 (file)
@@ -810,9 +810,7 @@ begin
   // HACK: take stats screenshot immediately after the first frame of the stats showing
   if gScreenshotStats and (not StatShotDone) and (Length(CustomStat.PlayerStat) > 1) then
   begin
-{$IFNDEF HEADLESS}
     g_TakeScreenShot('stats/' + StatFilename);
-{$ENDIF}
     StatShotDone := True;
   end;
 end;
@@ -2170,9 +2168,7 @@ begin
   end;
 {$ENDIF}
 
-{$IFNDEF HEADLESS}
   r_Console_Draw();
-{$ENDIF}
 
   if g_debug_Sounds and gGameOn then
   begin