(svn r6474) - Add a patch option to control display of liveries, allowing none, your

own, or all companies.
This commit is contained in:
2006-09-17 20:52:54 +00:00
parent 4794012f37
commit 37e00dbef2
5 changed files with 8 additions and 1 deletions

View File

@@ -2313,7 +2313,7 @@ static PalSpriteID GetEngineColourMap(EngineID engine_type, PlayerID player, Eng
/* The default livery is always available for use, but its in_use flag determines
* whether any _other_ liveries are in use. */
if (p->livery[LS_DEFAULT].in_use) {
if (p->livery[LS_DEFAULT].in_use && (_patches.liveries == 2 || (_patches.liveries == 1 && player == _local_player))) {
/* Determine the livery scheme to use */
switch (GetEngine(engine_type)->type) {
case VEH_Train: {