mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-06 03:52:37 +01:00
Fix #8216: Don't show floating text on autoreplace if cost is 0
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user