mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Fix build.
I wonder why I didn't catch this in sunday. For some reason a "make clean ; make" cycle was necessary. Maybe a corner case that the header dependencies didn't catch?
This commit is contained in:
parent
a4e8932deb
commit
653d2bad80
2 changed files with 3 additions and 2 deletions
|
@ -42,7 +42,6 @@ typedef enum
|
|||
void OGG_InitTrackList(void);
|
||||
void OGG_Init(void);
|
||||
void OGG_PlayTrack(int track);
|
||||
void OGG_Read(void);
|
||||
void OGG_Shutdown(void);
|
||||
void OGG_Stop(void);
|
||||
void OGG_Stream(void);
|
||||
|
|
|
@ -57,7 +57,7 @@ enum { MAX_NUM_OGGTRACKS = 32 };
|
|||
static char* oggTracks[MAX_NUM_OGGTRACKS];
|
||||
static int oggMaxFileIndex;
|
||||
|
||||
static enum GameType {
|
||||
enum GameType {
|
||||
other, // incl. baseq2
|
||||
xatrix,
|
||||
rogue
|
||||
|
@ -311,6 +311,8 @@ OGG_PlayTrack(int trackNo)
|
|||
}
|
||||
}
|
||||
|
||||
Com_Printf("Track number: %i\n", trackNo);
|
||||
|
||||
if(oggMaxFileIndex == 0)
|
||||
{
|
||||
return; // no ogg files at all, ignore this silently instead of printing warnings all the time
|
||||
|
|
Loading…
Reference in a new issue