diff --git a/src/game/g_grid.pas b/src/game/g_grid.pas
index 475cb68d7ec3b961c324f504bcf802230ae2bbfc..06790755698dfce7e15d73241fdabd65b4cbe689 100644 (file)
--- a/src/game/g_grid.pas
+++ b/src/game/g_grid.pas
y := yptr^+miny;
//prevx := x;
//prevy := y;
- {$IF DEFINED(D2F_DEBUG)}
- if hopt then
- begin
- if (y <> ay0) then raise Exception.Create('htrace fatal internal error');
- end
- else
- begin
- if (x <> ax0) then raise Exception.Create('vtrace fatal internal error');
- end;
- {$ENDIF}
while (wklen > 0) do
begin
{$IF DEFINED(D2F_DEBUG)}
if dbgShowTraceLog then e_LogWritefln('optimized htrace; wklen=%d', [wklen]);
{$ENDIF}
ga := (yptr^ div tsize)*gw+(xptr^ div tsize);
- {$IF DEFINED(D2F_DEBUG)}
- if hopt then
- begin
- if (yptr^ <> ay0) then raise Exception.Create('htrace fatal internal error');
- end
- else
- begin
- if (xptr^ <> ax0) then raise Exception.Create('vtrace fatal internal error');
- end;
- {$ENDIF}
while (wklen > 0) do
begin
{$IF DEFINED(D2F_DEBUG)}