mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 03:12:00 -04:00
fix error if lump not found in TRAKINFO
This commit is contained in:
parent
ceacff0163
commit
785984696d
@ -121,7 +121,7 @@ void S_GetExtra(musicinfo_t *music, extra_music_t type)
|
||||
return;
|
||||
}
|
||||
|
||||
int lumpnum = W_GetNumForName(extra);
|
||||
int lumpnum = W_CheckNumForName(extra);
|
||||
if (lumpnum < 0)
|
||||
{
|
||||
I_Printf(VB_ERROR, "TRAKINFO: lump '%s' is not found", extra);
|
||||
|
Loading…
x
Reference in New Issue
Block a user