From 785984696da40c80ab4e7a19aa5816cfc3128d33 Mon Sep 17 00:00:00 2001 From: Roman Fomin Date: Thu, 29 May 2025 12:51:52 +0700 Subject: [PATCH] fix error if lump not found in TRAKINFO --- src/s_trakinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/s_trakinfo.c b/src/s_trakinfo.c index 3ac84c58..27d86033 100644 --- a/src/s_trakinfo.c +++ b/src/s_trakinfo.c @@ -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);