mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
added squadnames to a few locations
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5879 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -5269,7 +5269,11 @@ BOOLEAN HandlePlayerGroupEnteringSectorToCheckForNPCsOfNote( GROUP *pGroup )
|
||||
|
||||
// build string for squad
|
||||
GetSectorIDString( sSectorX, sSectorY, bSectorZ, wSectorName, FALSE );
|
||||
swprintf( sString, pLandMarkInSectorString[ 0 ], pGroup->pPlayerList->pSoldier->bAssignment + 1, wSectorName );
|
||||
|
||||
if ( gGameExternalOptions.fUseXMLSquadNames && pGroup->pPlayerList->pSoldier->bAssignment < ON_DUTY )
|
||||
swprintf( sString, pLandMarkInSectorString[ 0 ], SquadNames[ pGroup->pPlayerList->pSoldier->bAssignment ].squadname, wSectorName );
|
||||
else
|
||||
swprintf( sString, pLandMarkInSectorString[ 0 ], pGroup->pPlayerList->pSoldier->bAssignment + 1, wSectorName );
|
||||
|
||||
if ( GroupAtFinalDestination( pGroup ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user