summaryrefslogtreecommitdiff
path: root/src/cargopacket.cpp
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-02-26 16:22:58 +0100
committerGitHub <noreply@github.com>2021-02-26 16:22:58 +0100
commit9a3dbf3122f63f65ce95b2201c4dfe98c6003bc9 (patch)
treed36dc3b8c466d4ece47022cc5a911ef0a80a7421 /src/cargopacket.cpp
parentd4583fa64c067c00d3a7592642b3c269d02a8bef (diff)
downloadopenttd-9a3dbf3122f63f65ce95b2201c4dfe98c6003bc9.tar.xz
Fix 02e770ff: allow estimating CloneVehicle if short on money (#8748)
CheckCompanyHasMoney() was also executed when not using DC_EXEC, resulting in an error about shortage of money instead of the estimation. This mostly is a problem for AI players, as they will have no way to know how much it would have cost.
Diffstat (limited to 'src/cargopacket.cpp')
0 files changed, 0 insertions, 0 deletions