P_WriteSfx: Work around the weird case sensitivity in internal instances of get_number by always providing an uppercase prefix on conversion

This commit is contained in:
toaster 2023-07-21 14:41:22 +01:00
parent 66dd952fdd
commit e914c19e8f

View file

@ -1283,7 +1283,7 @@ static void P_WriteSfx(INT32 constant, char **target)
return;
P_WriteDuplicateText(
va("sfx_%s", S_sfx[constant].name),
va("SFX_%s", S_sfx[constant].name),
target
);
}