mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-10 22:34:10 +01:00
Fix #8216: Don't show floating text on autoreplace if cost is 0
This commit is contained in:
parent
24960b4641
commit
97504e7c29
@ -1045,7 +1045,7 @@ void CallVehicleTicks()
|
|||||||
|
|
||||||
if (!IsLocalCompany()) continue;
|
if (!IsLocalCompany()) continue;
|
||||||
|
|
||||||
if (res.Succeeded()) {
|
if (res.Succeeded() && res.GetCost() != 0) {
|
||||||
ShowCostOrIncomeAnimation(x, y, z, res.GetCost());
|
ShowCostOrIncomeAnimation(x, y, z, res.GetCost());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user