mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
avoid truncating alternative music lump names
This commit is contained in:
parent
4fcf30323d
commit
21ca1580ef
@ -1081,7 +1081,7 @@ static void InitFinalDoomMusic()
|
|||||||
{
|
{
|
||||||
char name[9] = "d_";
|
char name[9] = "d_";
|
||||||
|
|
||||||
strncpy(&name[2], altmusic[j].to, 6);
|
M_CopyLumpName(&name[2], altmusic[j].to);
|
||||||
|
|
||||||
if (W_CheckNumForName(name) == -1)
|
if (W_CheckNumForName(name) == -1)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user