diff --git a/src/game/g_basic.pas b/src/game/g_basic.pas
index 530bf8e4c2ea873385be3eb3403a548122bfdd8f..e9412a38ee528f62e349972148444b0c239b8426 100644 (file)
--- a/src/game/g_basic.pas
+++ b/src/game/g_basic.pas
begin
if not gmon_dbg_los_enabled then begin result := false; exit; end; // always "wall hit"
- if ((b^.X > a^.X) and (d = D_LEFT)) or
- ((b^.X < a^.X) and (d = D_RIGHT)) then
+ if ((b^.X > a^.X) and (d = TDirection.D_LEFT)) or
+ ((b^.X < a^.X) and (d = TDirection.D_RIGHT)) then
begin
Result := False;
Exit;