mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
LocateSoldier() & HandleMercLeavingEquipmentInDrassen() & HandleMercLeavingEquipmentInOmerta()
This commit is contained in:
@@ -3488,7 +3488,7 @@ BOOLEAN ResetAllAnimationCache( )
|
||||
|
||||
|
||||
|
||||
void LocateSoldier( UINT16 usID, BOOLEAN fSetLocator)
|
||||
void LocateSoldier( SoldierID usID, BOOLEAN fSetLocator)
|
||||
{
|
||||
SOLDIERTYPE *pSoldier;
|
||||
INT16 sNewCenterWorldX, sNewCenterWorldY;
|
||||
@@ -3501,7 +3501,7 @@ void LocateSoldier( UINT16 usID, BOOLEAN fSetLocator)
|
||||
if (!SoldierOnScreen(usID) || fSetLocator == 10 )
|
||||
{
|
||||
// Get pointer of soldier
|
||||
pSoldier = MercPtrs[ usID ];
|
||||
pSoldier = usID;
|
||||
|
||||
// Center on guy
|
||||
sNewCenterWorldX = (INT16)pSoldier->dXPos;
|
||||
|
||||
+1
-1
@@ -231,7 +231,7 @@ void SelectSoldier( UINT16 usSoldierID, BOOLEAN fAcknowledge, BOOLEAN fForceRese
|
||||
void RevealAllDroppedEnemyItems();
|
||||
|
||||
void LocateGridNo( INT32 sGridNo );
|
||||
void LocateSoldier( UINT16 usID, BOOLEAN fSetLocator);
|
||||
void LocateSoldier( SoldierID usID, BOOLEAN fSetLocator);
|
||||
|
||||
void BeginTeamTurn( UINT8 ubTeam );
|
||||
void SlideTo(INT32 sGridNo, UINT16 usSoldierID , UINT16 usReasonID, BOOLEAN fSetLocator) ;
|
||||
|
||||
Reference in New Issue
Block a user