- Tank have superior surrender strength, making it much harder to get the enemy to surrender when he has tanks

Overheating:
- OVERHEATING_DISPLAY_JAMPERCENTAGE controls wether the temperature bar shows temperature/jam threshold(true) or temperature/damage threshold (false)
- OVERHEATING_TEMPERATURE_GLOBAL_MODIFIER is obsolete and this removed, as the same effect can be achieved by OVERHEATING_TEMPERATURE_PISTOL_gunclass



git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6531 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2013-10-25 19:23:55 +00:00
parent f008316275
commit b23be615b9
7 changed files with 27 additions and 15 deletions
+4
View File
@@ -15749,6 +15749,10 @@ UINT32 SOLDIERTYPE::GetSurrenderStrength()
else if ( this->ubSoldierClass == SOLDIER_CLASS_ADMINISTRATOR || this->ubSoldierClass == SOLDIER_CLASS_GREEN_MILITIA )
value *= 0.75f;
// tanks won't surrender that easy
if ( TANK(this) )
value *= 10;
return value;
}