From: DeaDDooMER Date: Sat, 29 Jan 2022 17:11:32 +0000 (+0300) Subject: holmes: fix build X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=81ca4711be76dfa3ffcc55547c3b919a0b7636aa;p=d2df-sdl.git holmes: fix build --- diff --git a/src/game/g_holmes.pas b/src/game/g_holmes.pas index e21faf5..948c3ff 100644 --- a/src/game/g_holmes.pas +++ b/src/game/g_holmes.pas @@ -48,6 +48,9 @@ implementation uses {$INCLUDE ../nogl/noGLuses.inc} + {$IFDEF ENABLE_GIBS} + g_gibs, + {$ENDIF} {rttiobj,} typinfo, e_res, SysUtils, Classes, SDL2, MAPDEF, g_options, @@ -1224,6 +1227,7 @@ procedure plrDebugDraw (); for f := 0 to High(gTriggers) do drawTrigger(gTriggers[f]); end; +{$IFDEF ENABLE_GIBS} procedure drawGibsBoxes (); var f: Integer; @@ -1241,6 +1245,7 @@ procedure plrDebugDraw (); end; end; end; +{$ENDIF} var mon: TMonster; @@ -1301,8 +1306,9 @@ begin if showTraceBox then drawTraceBox(); - //drawGibsBoxes(); - + {$IFDEF ENABLE_GIBS} + // drawGibsBoxes(); + {$ENDIF} //pan := g_Map_traceToNearest(16, 608, 16, 8, (GridTagObstacle or GridTagLiquid), @ex, @ey); (*