X-Git-Url: http://deadsoftware.ru/gitweb?p=d2df-sdl.git;a=blobdiff_plain;f=src%2Fgame%2Fg_netmsg.pas;h=f3b095591d8b08a94c4296b2360403a1ed88506c;hp=816673a180455a7289cd40b3332b97b40a39cad7;hb=aa7e40301df69aa13c00ff2bcdb8e532b06b8053;hpb=17ca3896bbe664f64e6c302023b8010d4ebd02ff diff --git a/src/game/g_netmsg.pas b/src/game/g_netmsg.pas index 816673a..f3b0955 100644 --- a/src/game/g_netmsg.pas +++ b/src/game/g_netmsg.pas @@ -276,7 +276,7 @@ function IsValidFilePath(const S: String): Boolean; implementation uses - {$IFNDEF HEADLESS} + {$IFDEF ENABLE_MENU} g_gui, {$ENDIF} Math, ENet, e_input, e_log, g_base, g_basic, @@ -2943,7 +2943,7 @@ begin kByte := 0; Predict := NetPredictSelf; // and (not NetGotKeys); -{$IFDEF HEADLESS} +{$IFDEF DISABLE_MENU} if (not gConsoleShow) and (not gChatShow) then {$ELSE} if (not gConsoleShow) and (not gChatShow) and (g_ActiveWindow = nil) then