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++;