fix error if lump not found in TRAKINFO

This commit is contained in:
Roman Fomin 2025-05-29 12:51:52 +07:00
parent ceacff0163
commit 785984696d

View File

@ -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);