mirror of https://github.com/OpenTTD/OpenTTD.git
Fix #8216: Don't show floating text on autoreplace if cost is 0
This commit is contained in:
parent
1bc7047af7
commit
218db00c4c
|
@ -1045,7 +1045,7 @@ void CallVehicleTicks()
|
|||
|
||||
if (!IsLocalCompany()) continue;
|
||||
|
||||
if (res.Succeeded()) {
|
||||
if (res.Succeeded() && res.GetCost() != 0) {
|
||||
ShowCostOrIncomeAnimation(x, y, z, res.GetCost());
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue