diff options
Diffstat (limited to 'engines/scumm/he/moonbase/moonbase.cpp')
-rw-r--r-- | engines/scumm/he/moonbase/moonbase.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/scumm/he/moonbase/moonbase.cpp b/engines/scumm/he/moonbase/moonbase.cpp index 15ababd321..941f32db23 100644 --- a/engines/scumm/he/moonbase/moonbase.cpp +++ b/engines/scumm/he/moonbase/moonbase.cpp @@ -23,6 +23,9 @@ #include "scumm/he/intern_he.h" #include "scumm/he/moonbase/moonbase.h" #include "scumm/he/moonbase/ai_main.h" +#ifdef USE_SDL_NET +#include "scumm/he/moonbase/net_main.h" +#endif namespace Scumm { @@ -30,10 +33,16 @@ Moonbase::Moonbase(ScummEngine_v100he *vm) : _vm(vm) { initFOW(); _ai = new AI(_vm); +#ifdef USE_SDL_NET + _net = new Net(_vm); +#endif } Moonbase::~Moonbase() { delete _ai; +#ifdef USE_SDL_NET + delete _net; +#endif } int Moonbase::readFromArray(int array, int y, int x) { |