From 81ca4711be76dfa3ffcc55547c3b919a0b7636aa Mon Sep 17 00:00:00 2001 From: DeaDDooMER Date: Sat, 29 Jan 2022 20:11:32 +0300 Subject: [PATCH] holmes: fix build --- src/game/g_holmes.pas | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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); (* -- 2.29.2