From c583318f31f6804fdd3507bed395e36f1b634aea Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 16 Feb 2020 14:54:24 +0100 Subject: [PATCH] - guard NNLoadSaveConstruct with #ifdef NOONE_EXTENSIONS. --- source/blood/src/loadsave.cpp | 4 ++++ source/blood/src/nnexts.cpp | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/source/blood/src/loadsave.cpp b/source/blood/src/loadsave.cpp index 2364c2feb..6e7dcd179 100644 --- a/source/blood/src/loadsave.cpp +++ b/source/blood/src/loadsave.cpp @@ -833,7 +833,9 @@ void TriggersLoadSaveConstruct(void); void ViewLoadSaveConstruct(void); void WarpLoadSaveConstruct(void); void WeaponLoadSaveConstruct(void); +#ifdef NOONE_EXTENSIONS void NNLoadSaveConstruct(void); +#endif void ASoundLoadSaveConstruct(void); void LoadSaveSetup(void) @@ -853,7 +855,9 @@ void LoadSaveSetup(void) ViewLoadSaveConstruct(); WarpLoadSaveConstruct(); WeaponLoadSaveConstruct(); +#ifdef NOONE_EXTENSIONS NNLoadSaveConstruct(); +#endif ASoundLoadSaveConstruct(); } diff --git a/source/blood/src/nnexts.cpp b/source/blood/src/nnexts.cpp index be627e72c..84e85d2ca 100644 --- a/source/blood/src/nnexts.cpp +++ b/source/blood/src/nnexts.cpp @@ -3709,7 +3709,6 @@ void callbackGenDudeUpdate(int nSprite) // 24 if (spriRangeIsFine(nSprite)) genDudeUpdate(&sprite[nSprite]); } -#endif class NNLoadSave : public LoadSave @@ -3752,3 +3751,5 @@ void NNLoadSaveConstruct(void) // For full documentation please visit http://cruo.bloodgame.ru/xxsystem /////////////////////////////////////////////////////////////////// END_BLD_NS + +#endif