mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user