summaryrefslogtreecommitdiff
path: root/regression
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2020-12-15 10:36:19 +0100
committerPatric Stout <github@truebrain.nl>2020-12-15 21:18:03 +0100
commitf7b8e7e46c4864f518d7455c80946938e29077ba (patch)
tree3ba0353879b74282b823c719a0a191d96954401b /regression
parentca65f19b03f28bd6a2283d740ca6ae449bdc01e7 (diff)
downloadopenttd-f7b8e7e46c4864f518d7455c80946938e29077ba.tar.xz
Fix: prefix the Nth vehicle with "#" when ungrouped
This is for consistency; most other objects add a # to indicate it is the Nth of that object, except for Trains / RVs / Ships / Aircrafts. This becomes painfully apparent with unnamed vehicles in groups, which do get a "#".
Diffstat (limited to 'regression')
-rw-r--r--regression/regression/result.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/regression/regression/result.txt b/regression/regression/result.txt
index ab441256d..9ae029932 100644
--- a/regression/regression/result.txt
+++ b/regression/regression/result.txt
@@ -9075,7 +9075,7 @@ ERROR: IsEnd() is invalid as Begin() is never called
--Accounting--
GetCosts(): -5947
Should be: -5947
- GetName(): Road Vehicle 1
+ GetName(): Road Vehicle #1
SetName(): true
GetName(): MyVehicleName
CloneVehicle(): 13