ref: 8f726f75cce1215f18992e09ea4cb0a615f8191a
parent: 4ee8e5c2e49d8636d5626f10dbccab67ad4a7bb2
author: Turo Lamminen <turol@iki.fi>
date: Wed Sep 7 11:55:48 EDT 2022
doom: Fix player_names extern declaration to match definition
--- a/src/doom/g_game.c
+++ b/src/doom/g_game.c
@@ -941,7 +941,7 @@
&& turbodetected[i])
{
static char turbomessage[80];
- extern char *player_names[4];
+ extern const char *player_names[4];
M_snprintf(turbomessage, sizeof(turbomessage),
"%s is turbo!", player_names[i]);
players[consoleplayer].message = turbomessage;