From f48317a04595a9ba8c17e7c80f79a932ecd490a3 Mon Sep 17 00:00:00 2001 From: yamamama Date: Sun, 16 Nov 2025 14:42:41 -0500 Subject: [PATCH] Fix up dehacked, adjust voice allocation printouts --- src/dehacked.c | 4 ++-- src/r_skins.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dehacked.c b/src/dehacked.c index bac6047c9..4a7b8959f 100644 --- a/src/dehacked.c +++ b/src/dehacked.c @@ -794,11 +794,11 @@ static void DEH_LoadDehackedFile(MYFILE *f, boolean mainfile) if (i == MAXSKINVOICES) { // Found nothing; auto-allocate our voice. - const INT32 allocresult = R_AllocKartVoice(false, word, &i); + const INT32 allocresult = R_AllocKartVoice(false, word2, &i); if (allocresult < 0) { - deh_warning("Voice '%s' could not be allocated.", word); + deh_warning("Voice '%s' could not be allocated.", word2); ignorelines(f); } } diff --git a/src/r_skins.c b/src/r_skins.c index 37da62192..fd68a67ed 100644 --- a/src/r_skins.c +++ b/src/r_skins.c @@ -1285,7 +1285,7 @@ INT32 R_AllocKartVoice(boolean skinalloc, const char* name, INT32 *out) return -1; } - CONS_Printf("Voice KVOICE_%s allocated.\n",voxname_upper); + CONS_Printf("Voice %s allocated.\n",voxname_upper); DEH_Link(voxname_upper, &skinvoices[numskinvoices].info, &voicenames); *out = numskinvoices++;