Partial build fix for Lunatic.

git-svn-id: https://svn.eduke32.com/eduke32@6426 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-08-06 13:44:59 +00:00
parent f5d0acfee8
commit c750f8262a

View file

@ -1159,14 +1159,14 @@ static int G_StartTrackSlot(int const volumeNum, int const levelNum)
return 1;
}
#ifndef LUNATIC
static void G_StartTrackSlotWrap(int const volumeNum, int const levelNum)
{
if (EDUKE32_PREDICT_FALSE(G_StartTrackSlot(volumeNum, levelNum)))
CON_ERRPRINTF("invalid level %d or null music for volume %d level %d\n",
levelNum, volumeNum, levelNum);
}
#ifdef LUNATIC
#else
int G_StartTrack(int const levelNum)
{
return G_StartTrackSlot(ud.volume_number, levelNum);