mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Remove debug mission randomisation
General cleanup
This commit is contained in:
@@ -1161,16 +1161,6 @@ void UpdateAdminActionChangeList(INT16 regionId)
|
||||
|
||||
BOOLEAN EnterWebsite()
|
||||
{
|
||||
// debugging. todo: randomise missions in DailyUpdate and save them in rebelcommandsaveinfo
|
||||
for (int i = 0; i < NUM_ARC_AGENT_SLOTS; ++i)
|
||||
{
|
||||
//missionIndex[i] = Random(RCAM_NUM_MISSIONS-1) + 1;
|
||||
rebelCommandSaveInfo.availableMissions[i] = Random(RCAM_NUM_MISSIONS);
|
||||
agentIndex[i] = -1;
|
||||
}
|
||||
//missionIndex[0] = RCAM_TRAIN_MILITIA_ANYWHERE;
|
||||
//missionIndex[1] = RCAM_IMPROVE_LOCAL_SHOPS;
|
||||
|
||||
UpdateAdminActionChangeList(iCurrentRegionId);
|
||||
|
||||
// make sure we have a valid directive
|
||||
@@ -3608,10 +3598,6 @@ void DailyUpdate()
|
||||
iIncomingSuppliesPerDay = CalcIncomingSuppliesPerDay(static_cast<RebelCommandDirectives>(directive));
|
||||
rebelCommandSaveInfo.iSupplies += iIncomingSuppliesPerDay;
|
||||
|
||||
// rftr todo: check bitmask
|
||||
//if (purchasing supplies through agent mission)
|
||||
// what gets subtracted? current balance? daily income? how do we pick?
|
||||
|
||||
// get regional bonuses
|
||||
INT16 intelGain = 0;
|
||||
INT16 supplyGain = 0;
|
||||
|
||||
Reference in New Issue
Block a user