Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Bug #929034

closed

Units costing less than 10 shields have 0 bribe cost.

Added by Lexxie L over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
General
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

/common/unit.c::unit_bribe_cost()

blamed lines of code:
/* Consider the build cost. */
cost *= (unit_build_shield_cost_base(punit) / 10;

FIX: Forcing those to (float) fixed it at FCW, but note, FCW version of this function is divergent and has other vars also previously changed to float. So if changing that one line doesn't work, recommend changing more things to float and/or looking at the fcw.org version of the function which no longer has this bug.


Files

Also available in: Atom PDF