From cde65455acbc10a3f64bb9d43c03b37cdf9b1c55 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 18 Jul 2008 16:40:29 +0000 Subject: (svn r13731) -Codechange: make a pool of the array of players. --- src/smallmap_gui.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/smallmap_gui.cpp') diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp index db8e8b52f..dab371e7d 100644 --- a/src/smallmap_gui.cpp +++ b/src/smallmap_gui.cpp @@ -619,10 +619,8 @@ public: /* now fill with the player colors */ FOR_ALL_PLAYERS(p) { - if (p->is_active) { - _owner_colors[p->index] = - _colour_gradient[p->player_color][5] * 0x01010101; - } + _owner_colors[p->index] = + _colour_gradient[p->player_color][5] * 0x01010101; } } -- cgit v1.2.3-54-g00ecf