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/smallmap_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/smallmap_gui.cpp')
-rw-r--r-- | src/smallmap_gui.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
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; } } |