ref: 9e43c714eb29ca9eb6d2b34a0f2747260a5d5615
parent: bda24e56c062c08a1d0f885afd519e915c177f2a
author: Turo Lamminen <turol@iki.fi>
date: Wed Sep 7 11:59:09 EDT 2022
doom: Move player_names extern declaration to hu_stuff.h
--- a/src/doom/g_game.c
+++ b/src/doom/g_game.c
@@ -941,7 +941,6 @@
&& turbodetected[i])
{
static char turbomessage[80];
- extern const char *player_names[4];
M_snprintf(turbomessage, sizeof(turbomessage),
"%s is turbo!", player_names[i]);
players[consoleplayer].message = turbomessage;
--- a/src/doom/hu_stuff.h
+++ b/src/doom/hu_stuff.h
@@ -54,6 +54,7 @@
char HU_dequeueChatChar(void);
void HU_Erase(void);
+extern const char *player_names[4];
extern char *chat_macros[10];
extern patch_t *hu_font[HU_FONTSIZE];