mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Convert gusSelectedSoldier to SoldierID
This commit is contained in:
+1
-1
@@ -926,7 +926,7 @@ BOOLEAN SetCurrentSquad( INT32 iCurrentSquad, BOOLEAN fForce )
|
||||
// check if the currently selected guy is on this squad, if not, get the first one on the new squad
|
||||
if ( gusSelectedSoldier != NOBODY )
|
||||
{
|
||||
if( Menptr[ gusSelectedSoldier ].bAssignment != iCurrentTacticalSquad )
|
||||
if( gusSelectedSoldier->bAssignment != iCurrentTacticalSquad )
|
||||
{
|
||||
// ATE: Changed this to FALSE for ackoledgement sounds.. sounds bad if just starting/entering sector..
|
||||
SelectSoldier( Squad[ iCurrentTacticalSquad ][ 0 ]->ubID, FALSE, TRUE );
|
||||
|
||||
Reference in New Issue
Block a user