mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Removed distinction between male and female IMP slots. Number of IMP slots is now set via MAX_IMP_CHARACTERS, slots are set with IMP_'number'.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8608 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -408,7 +408,7 @@ void ProcessPlayerInputActivationString( void )
|
||||
return;
|
||||
}
|
||||
|
||||
if (CountFilledIMPSlots(-1) < gGameOptions.ubMaxIMPCharacters)
|
||||
if (CountFilledIMPSlots() < gGameOptions.ubMaxIMPCharacters)
|
||||
{
|
||||
// Kaiden: Need to reset skills, attributes and personalities with the new UB Method.
|
||||
ResetSkillsAttributesAndPersonality( );
|
||||
@@ -430,7 +430,7 @@ void ProcessPlayerInputActivationString( void )
|
||||
return;
|
||||
}
|
||||
|
||||
if (CountFilledIMPSlots(-1) < gGameOptions.ubMaxIMPCharacters)
|
||||
if (CountFilledIMPSlots() < gGameOptions.ubMaxIMPCharacters)
|
||||
{
|
||||
if (LoadImpCharacter( IMP_MERC_FILENAME ) == TRUE)
|
||||
{
|
||||
@@ -456,7 +456,7 @@ void ProcessPlayerInputActivationString( void )
|
||||
return;
|
||||
}
|
||||
|
||||
if (CountFilledIMPSlots(-1) < gGameOptions.ubMaxIMPCharacters)
|
||||
if (CountFilledIMPSlots() < gGameOptions.ubMaxIMPCharacters)
|
||||
{
|
||||
if (LoadImpCharacter( charPlayerActivationString ) == TRUE)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user