diff options
author | rubidium <rubidium@openttd.org> | 2008-07-18 16:40:29 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-07-18 16:40:29 +0000 |
commit | cde65455acbc10a3f64bb9d43c03b37cdf9b1c55 (patch) | |
tree | 82319a3d42401c6d6fa4944e99863807f05c6f5f /src/player_gui.cpp | |
parent | 56ad26a3aa231ede631d5bf8cf7e5132b2ff25a1 (diff) | |
download | openttd-cde65455acbc10a3f64bb9d43c03b37cdf9b1c55.tar.xz |
(svn r13731) -Codechange: make a pool of the array of players.
Diffstat (limited to 'src/player_gui.cpp')
-rw-r--r-- | src/player_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player_gui.cpp b/src/player_gui.cpp index 472865c29..65d3d3bdc 100644 --- a/src/player_gui.cpp +++ b/src/player_gui.cpp @@ -346,7 +346,7 @@ private: if (HasBit(this->sel, LS_DEFAULT) && widget == PLW_WIDGET_PRI_COL_DROPDOWN) { const Player *p; FOR_ALL_PLAYERS(p) { - if (p->is_active && p->index != _local_player) SetBit(used_colours, p->player_color); + if (p->index != _local_player) SetBit(used_colours, p->player_color); } } |