fix another "0 as null pointer" case

This commit is contained in:
alufolie91 committed 2026-10-08 09:27:44 +02:00
1 parent c01d6eccf6
commit 7ca73cdfdb
1 file changed
+1 -1
+1 -1
View File
@@ -100,7 +100,7 @@ static UINT8 cheatf_devmode(void)
if (menuactive && currentMenu != &MainDef)
return 0; // Only on the main menu!
S_StartSound(0, sfx_itemup);
S_StartSound(NULL, sfx_itemup);
// Just unlock all the things and turn on -debug and console devmode.
G_SetGameModified(false, false); // might need to revist the latter later