September 24th Hotfix

Fixed some problematic harvester behavior
Implemented 10% build time reduction for Turkey
Neutral structures are capturable in multiplayer again (except for STRUCT_V01)
Other misc. fixes
This commit is contained in:
PG-SteveT 2020-09-24 10:20:58 -07:00
parent fd05be35c1
commit 7d496e8a63
40 changed files with 226 additions and 264 deletions

View file

@ -6495,6 +6495,17 @@ int TechnoTypeClass::Time_To_Build(HousesType house) const
time *= hptr->BuildSpeedBias;
}
else {
/*
** New feature - Turkey has a 10% build speed bonus even though it isn't specified in the rules
*/
if (hptr->ActLike == HOUSE_TURKEY) {
if (hptr->BuildSpeedBias == fixed(1)) {
time *= 9;
time /= 10;
}
}
if (What_Am_I() == RTTI_BUILDINGTYPE || What_Am_I() == RTTI_INFANTRYTYPE) {
time *= hptr->BuildSpeedBias;
}