diff options
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r-- | src/vehicle.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index fce09cb4a..043d1d33f 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -1259,6 +1259,8 @@ uint8 CalcPercentVehicleFilled(const Vehicle *v, StringID *colour) if (colour != NULL) { if (unloading == 0 && loading) { *colour = STR_PERCENT_UP; + } else if (unloading == 0 && !loading) { + *colour = STR_PERCENT_NONE; } else if (cars == unloading || !loading) { *colour = STR_PERCENT_DOWN; } else { |