mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Ifdef numberofHeaders
out if not compiling music
This variable is only used when compiling music. Since it doesn't actually keep track of the number of headers otherwise, ifdef it behind VVV_COMPILEMUSIC.
This commit is contained in:
parent
1297b09c47
commit
51bfed2032
2 changed files with 4 additions and 0 deletions
|
@ -12,7 +12,9 @@
|
|||
|
||||
binaryBlob::binaryBlob(void)
|
||||
{
|
||||
#ifdef VVV_COMPILEMUSIC
|
||||
numberofHeaders = 0;
|
||||
#endif
|
||||
SDL_zeroa(m_headers);
|
||||
SDL_zeroa(m_memblocks);
|
||||
}
|
||||
|
|
|
@ -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];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue