From 800c6ef6d11c7d0377e766d6e00360a510b7b73d Mon Sep 17 00:00:00 2001 From: cybermind Date: Thu, 12 Feb 2015 21:30:41 +0500 Subject: [PATCH] [-] Fixed bug with incorrect race name display. --- src/editor/editloop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/editloop.cpp b/src/editor/editloop.cpp index f427b9655..d17cf7579 100644 --- a/src/editor/editloop.cpp +++ b/src/editor/editloop.cpp @@ -514,7 +514,7 @@ static void DrawPlayers() y += 18 * 1 + 4; if (Editor.SelectedPlayer != -1) { snprintf(buf, sizeof(buf), "Plyr %d %s ", Editor.SelectedPlayer, - PlayerRaces.Name[Map.Info.PlayerSide[Editor.SelectedPlayer]].c_str()); + PlayerRaces.Name[Players[Editor.SelectedPlayer].Race].c_str()); // Players[SelectedPlayer].RaceName); switch (Map.Info.PlayerType[Editor.SelectedPlayer]) {