shithub: choc

Download patch

ref: 5b423fcfc1ba0774b10c566a63b9e14c3c02409c
parent: 744697c4fe213821c18dd882098b311550d42da7
author: Fabian Greffrath <fabian@greffrath.com>
date: Fri May 8 05:05:11 EDT 2015

warnings: fix "redundant redeclaration of ‘player_names’"

The "extern char player_names[8][16]" array is already declared in
hu_stuff.h:59.

--- a/src/strife/g_game.c
+++ b/src/strife/g_game.c
@@ -984,7 +984,6 @@
                 && turbodetected[i])
             {
                 static char turbomessage[80];
-                extern char player_names[8][16];
                 M_snprintf(turbomessage, sizeof(turbomessage),
                            "%s is turbo!", player_names[i]);
                 players[consoleplayer].message = turbomessage;