diff --git a/src/game/g_main.pas b/src/game/g_main.pas
index 2f68e2e604abd00f6b22d791987d15519e82adc5..c3741bc1ec0ab207be3c786a14513da0b4d397f8 100644 (file)
--- a/src/game/g_main.pas
+++ b/src/game/g_main.pas
procedure KeyPress (K: Word);
+{$IFNDEF HEADLESS}
var
Msg: g_gui.TMessage;
+{$ENDIF}
begin
+{$IFNDEF HEADLESS}
case K of
VK_ESCAPE: // <Esc>:
begin
end;
end;
end;
+{$ENDIF}
end;