DEADSOFTWARE

Main: Fix directives to hide compiler notices
[d2df-sdl.git] / src / game / g_main.pas
index bb394f1d1b94761447c373d1b45335462118c574..c789caf7785c74a09a79e9e691f62b6277898551 100644 (file)
@@ -56,7 +56,7 @@ var
 procedure Main();
 var
   sdlflags: LongWord;
-{$IFNDEF HEADLESS}
+{$IF not DEFINED(HEADLESS) and DEFINED(ENABLE_HOLMES)}
   flexloaded: Boolean;
 {$ENDIF}
 begin