summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lang/english.txt2
-rw-r--r--src/vehicle.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/lang/english.txt b/src/lang/english.txt
index 72289b179..a1ee33eb8 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -3757,6 +3757,8 @@ STR_PERCENT_DOWN_SMALL :{TINY_FONT}{WHI
STR_PERCENT_DOWN :{WHITE}{NUM}%{DOWN_ARROW}
STR_PERCENT_UP_DOWN_SMALL :{TINY_FONT}{WHITE}{NUM}%{UP_ARROW}{DOWN_ARROW}
STR_PERCENT_UP_DOWN :{WHITE}{NUM}%{UP_ARROW}{DOWN_ARROW}
+STR_PERCENT_NONE_SMALL :{TINY_FONT}{WHITE}{NUM}%
+STR_PERCENT_NONE :{WHITE}{NUM}%
# Income 'floats'
STR_INCOME_FLOAT_COST_SMALL :{TINY_FONT}{RED}Cost: {CURRENCY_LONG}
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 {