diff --git a/desktop_version/src/BinaryBlob.cpp b/desktop_version/src/BinaryBlob.cpp index 06c9bf1b..1ed7d93e 100644 --- a/desktop_version/src/BinaryBlob.cpp +++ b/desktop_version/src/BinaryBlob.cpp @@ -12,7 +12,9 @@ binaryBlob::binaryBlob(void) { +#ifdef VVV_COMPILEMUSIC numberofHeaders = 0; +#endif SDL_zeroa(m_headers); SDL_zeroa(m_memblocks); } diff --git a/desktop_version/src/BinaryBlob.h b/desktop_version/src/BinaryBlob.h index 6cf449f1..6306313f 100644 --- a/desktop_version/src/BinaryBlob.h +++ b/desktop_version/src/BinaryBlob.h @@ -57,7 +57,9 @@ public: static const int max_headers = 128; +#ifdef VVV_COMPILEMUSIC int numberofHeaders; +#endif resourceheader m_headers[max_headers]; char* m_memblocks[max_headers]; };