Changeset - r24292:d31e2fe17321
[Not reviewed]
master
0 1 0
Charles Pigott - 4 years ago 2020-06-27 14:13:13
charlespigott@googlemail.com
Fix #8216: Don't show floating text on autoreplace if cost is 0
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/vehicle.cpp
Show inline comments
 
@@ -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;
 
		}
0 comments (0 inline, 0 general)