- New xml: FoodOpinion.xml allows individual opinions on individual food items for each merc, the <bMoraleMod>-tag in Food.xml was removed.

- Maximum number of food items was increased to 500 (was 128).

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7454 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2014-08-28 20:12:06 +00:00
parent d8cdfc927c
commit a37cf0f8f1
17 changed files with 303 additions and 106 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ FLOAT GetSectorDiseaseOverFlowThreshold( )
if ( Disease[0].sInfectionPtsGainPerHour > 0 )
return GetCivPopulationDoctorRate( ) * GetPopulationDoctorPoints( ) / (FLOAT)Disease[0].sInfectionPtsGainPerHour;
return 0.3;
return 0.3f;
}
void HandleDisease()