diff --git a/DXRModules/DeusEx/Classes/DXRStartMap.uc b/DXRModules/DeusEx/Classes/DXRStartMap.uc index 217455e15..8c51679b9 100644 --- a/DXRModules/DeusEx/Classes/DXRStartMap.uc +++ b/DXRModules/DeusEx/Classes/DXRStartMap.uc @@ -61,6 +61,35 @@ function PreFirstEntry() } } +static function int GetStartMapMission(int start_map_val) +{ + local int mission; + + switch(start_map_val) + { + case 0: + mission=1; //Mission 1 start, nothing + break; + case 70: + case 75: + mission = 6;// 2nd half of hong kong, but really still mission 6 + break; + case 99: + mission=10; //Mission 9 graveyard, basically mission 10 + break; + case 109: + mission=11; //Mission 10 Chateau, but basically mission 11 + break; + case 119: + mission=12; //Mission 11 Everett, but basically mission 12 + break; + default: + mission=start_map_val/10; + break; + } + return mission; +} + static simulated function int GetStartingMissionMask(int start_map) { local int mask, i; @@ -376,35 +405,6 @@ static function string _GetStartMap(int start_map_val, out string friendlyName, } } -static function int GetStartMapMission(int start_map_val) -{ - local int mission; - - switch(start_map_val) - { - case 0: - mission=1; //Mission 1 start, nothing - break; - case 70: - case 75: - mission = 6;// 2nd half of hong kong, but really still mission 6 - break; - case 99: - mission=10; //Mission 9 graveyard, basically mission 10 - break; - case 109: - mission=11; //Mission 10 Chateau, but basically mission 11 - break; - case 119: - mission=12; //Mission 11 Everett, but basically mission 12 - break; - default: - mission=start_map_val/10; - break; - } - return mission; -} - static function int GetStartMapSkillBonus(int start_map_val) { local int skillBonus, mission;