mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- bugfix: CTD when trying to recruit John & Mary and there is only one free place left in the whole team.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@617 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -4475,8 +4475,9 @@ void DialogueMessageBoxCallBack( UINT8 ubExitValue )
|
||||
{
|
||||
if ( ubProfile == JOHN )
|
||||
{
|
||||
// WANNE: Bugfix: CTD when recruting John and Mary and there is only one place left in the team.
|
||||
// Mary might be alive, and if so we need to ensure two places
|
||||
pSoldier = FindSoldierByProfileID( MARY, TRUE );
|
||||
pSoldier = FindSoldierByProfileID( MARY, FALSE );
|
||||
if ( pSoldier && !PlayerTeamHasTwoSpotsLeft() )
|
||||
{
|
||||
ScreenMsg( FONT_MCOLOR_LTYELLOW, MSG_UI_FEEDBACK, TacticalStr[ CANNOT_RECRUIT_TEAM_FULL ] );
|
||||
|
||||
Reference in New Issue
Block a user