From e15428c43fc62f3e139d6b97e61624941f7e08ba Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 24 Oct 2019 00:14:08 +0200 Subject: SCUMM HE: Fix libcurl compilation checks --- engines/scumm/he/logic/moonbase_logic.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engines/scumm/he/logic') diff --git a/engines/scumm/he/logic/moonbase_logic.cpp b/engines/scumm/he/logic/moonbase_logic.cpp index 8b288d429e..880d86d017 100644 --- a/engines/scumm/he/logic/moonbase_logic.cpp +++ b/engines/scumm/he/logic/moonbase_logic.cpp @@ -24,7 +24,7 @@ #include "scumm/he/logic_he.h" #include "scumm/he/moonbase/moonbase.h" #include "scumm/he/moonbase/ai_main.h" -#ifdef USE_CURL +#ifdef USE_LIBCURL #include "scumm/he/moonbase/net_main.h" #include "scumm/he/moonbase/net_defines.h" #endif @@ -60,7 +60,7 @@ private: void op_ai_set_type(int op, int numArgs, int32 *args); void op_ai_clean_up(int op, int numArgs, int32 *args); -#ifdef USE_CURL +#ifdef USE_LIBCURL void op_net_remote_start_script(int op, int numArgs, int32 *args); void op_net_remote_send_array(int op, int numArgs, int32 *args); int op_net_remote_start_function(int op, int numArgs, int32 *args); @@ -165,7 +165,7 @@ int LogicHEmoonbase::versionID() { #define OP_NET_SET_AI_PLAYER_COUNT 1565 int LogicHEmoonbase::startOfFrame() { -#ifdef USE_CURL +#ifdef USE_LIBCURL _vm1->_moonbase->_net->doNetworkOnceAFrame(15); // Value should be passed in... #endif @@ -210,7 +210,7 @@ int32 LogicHEmoonbase::dispatch(int op, int numArgs, int32 *args) { op_ai_clean_up(op, numArgs, args); break; -#ifdef USE_CURL +#ifdef USE_LIBCURL case OP_NET_REMOTE_START_SCRIPT: op_net_remote_start_script(op, numArgs, args); break; @@ -381,7 +381,7 @@ void LogicHEmoonbase::op_ai_clean_up(int op, int numArgs, int32 *args) { _vm1->_moonbase->_ai->cleanUpAI(); } -#ifdef USE_CURL +#ifdef USE_LIBCURL void LogicHEmoonbase::op_net_remote_start_script(int op, int numArgs, int32 *args) { _vm1->_moonbase->_net->remoteStartScript(args[0], args[1], args[2], numArgs - 3, &args[3]); } -- cgit v1.2.3