mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Add settings variable for mission refresh time
Fix nullptr derefence when starting a mission with a generic agent Limit missions to one per batch Add popup box and screenmsg when a mission activates, fails to activates, and expires
This commit is contained in:
@@ -4158,6 +4158,7 @@ void LoadRebelCommandSettings()
|
||||
gRebelCommandSettings.iFortificationsBonus = iniReader.ReadInteger("Rebel Command Settings", "FORTIFICATIONS_BONUS", 10, 0, 100);
|
||||
|
||||
// agent missions
|
||||
gRebelCommandSettings.iMissionRefreshTimeDays = iniReader.ReadInteger("Rebel Command Settings", "MISSION_REFRESH_TIME_DAYS", 2, 1, 7);
|
||||
gRebelCommandSettings.iMinLoyaltyForMission = iniReader.ReadInteger("Rebel Command Settings", "MIN_LOYALTY_FOR_MISSION", 51, 0, 100);
|
||||
|
||||
gRebelCommandSettings.iDeepDeploymentSuccessChance = iniReader.ReadInteger("Rebel Command Settings", "DEEP_DEPLOYMENT_SUCCESS_CHANCE", 50, 0, 100);
|
||||
|
||||
Reference in New Issue
Block a user