mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Add mission prep time setting
This commit is contained in:
@@ -2985,7 +2985,7 @@ void PrepareMission(INT8 index)
|
||||
|
||||
// queue up the mission start event. make sure we use the top of the hour because I'm lazy and we're handling the assignment here instead of Assignments.cpp
|
||||
const UINT32 time = GetWorldTotalMin();
|
||||
//AddStrategicEvent(EVENT_REBELCOMMAND, time + (60 - time % 60) + 60 * 24, MissionHelpers::missionParam);
|
||||
//AddStrategicEvent(EVENT_REBELCOMMAND, time + (60 - time % 60) + 60 * gRebelCommandSettings.iMissionPrepTime, MissionHelpers::missionParam);
|
||||
AddStrategicEvent(EVENT_REBELCOMMAND, time + (60 - time % 60) + 60, MissionHelpers::missionParam); // rftr todo: DELETE ME
|
||||
missionMap.insert(std::make_pair(static_cast<RebelCommandAgentMissions>(evt.missionId), MissionHelpers::missionParam));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user