1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-20 10:52:41 +01:00

(svn r13731) -Codechange: make a pool of the array of players.

This commit is contained in:
rubidium
2008-07-18 16:40:29 +00:00
parent 891bec7e23
commit 3a799389eb
38 changed files with 173 additions and 242 deletions

View File

@@ -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;
}
}