mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
- Added options to remove mercenary on-assignment deaths, and also set the number of deaths per difficulty level
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@594 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1165,17 +1165,17 @@ void HandleUnhiredMercDeaths( INT32 iProfileID )
|
||||
// how many in total can be killed like this depends on player's difficulty setting
|
||||
switch( gGameOptions.ubDifficultyLevel )
|
||||
{
|
||||
case DIF_LEVEL_EASY:
|
||||
ubMaxDeaths = 1;
|
||||
case DIF_LEVEL_EASY: //Kaiden Externalized ubMaxDeaths Values
|
||||
ubMaxDeaths = gGameExternalOptions.giEasyMercDeaths;
|
||||
break;
|
||||
case DIF_LEVEL_MEDIUM:
|
||||
ubMaxDeaths = 2;
|
||||
ubMaxDeaths = gGameExternalOptions.giExperiencedMercDeaths;
|
||||
break;
|
||||
case DIF_LEVEL_HARD:
|
||||
ubMaxDeaths = 3;
|
||||
ubMaxDeaths = gGameExternalOptions.giExpertMercDeaths;
|
||||
break;
|
||||
case DIF_LEVEL_INSANE:
|
||||
ubMaxDeaths = 3;
|
||||
ubMaxDeaths = gGameExternalOptions.giInsaneMercDeaths;
|
||||
break;
|
||||
default:
|
||||
Assert(FALSE);
|
||||
|
||||
Reference in New Issue
Block a user