Merge pull request #26 from jmarshall23/master

Mainline to Branch
This commit is contained in:
jmarshall23
2020-07-05 14:34:18 -07:00
committed by GitHub
+1 -1
View File
@@ -6718,7 +6718,7 @@ bool TechnoTypeClass::Read_INI(CCINIClass & ini)
SightRange = ini.Get_Int(Name(), "Sight", SightRange);
Level = ini.Get_Int(Name(), "TechLevel", Level);
MaxSpeed = MPHType(_Scale_To_256(ini.Get_Int(Name(), "Speed", fixed(MaxSpeed, 256) * 100)));
Cost = 50; // ini.Get_Int(Name(), "Cost", Cost);
Cost = ini.Get_Int(Name(), "Cost", Cost);
MaxAmmo = ini.Get_Int(Name(), "Ammo", MaxAmmo);
Risk = Reward = Points = ini.Get_Int(Name(), "Points", Points);
Ownable = ini.Get_Owners(Name(), "Owner", Ownable);