Maximum number of IMPs is no longer a gamestart option. Instead the JA2_Options.ini setting MAX_IMP_CHARACTERS is used.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8609 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2018-09-01 16:01:03 +00:00
parent 3cc7e65da8
commit 83e00b0480
4 changed files with 15 additions and 314 deletions
+3 -3
View File
@@ -408,7 +408,7 @@ void ProcessPlayerInputActivationString( void )
return;
}
if (CountFilledIMPSlots() < gGameOptions.ubMaxIMPCharacters)
if ( CountEmptyIMPSlots() > 0 )
{
// Kaiden: Need to reset skills, attributes and personalities with the new UB Method.
ResetSkillsAttributesAndPersonality( );
@@ -430,7 +430,7 @@ void ProcessPlayerInputActivationString( void )
return;
}
if (CountFilledIMPSlots() < gGameOptions.ubMaxIMPCharacters)
if ( CountEmptyIMPSlots() > 0 )
{
if (LoadImpCharacter( IMP_MERC_FILENAME ) == TRUE)
{
@@ -456,7 +456,7 @@ void ProcessPlayerInputActivationString( void )
return;
}
if (CountFilledIMPSlots() < gGameOptions.ubMaxIMPCharacters)
if ( CountEmptyIMPSlots() > 0 )
{
if (LoadImpCharacter( charPlayerActivationString ) == TRUE)
{