mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Convert SOLDIERTYPE::usDragPersonID to SoldierID
This commit is contained in:
+1
-1
@@ -3167,7 +3167,7 @@ UINT32 CalculateCarriedWeight( SOLDIERTYPE * pSoldier, BOOLEAN fConsiderDragging
|
||||
{
|
||||
if (pSoldier->usDragPersonID != NOBODY)
|
||||
{
|
||||
SOLDIERTYPE* pOtherSoldier = MercPtrs[pSoldier->usDragPersonID];
|
||||
SOLDIERTYPE* pOtherSoldier = pSoldier->usDragPersonID;
|
||||
|
||||
uiTotalWeight += GetTotalWeight( pOtherSoldier );
|
||||
uiTotalWeight += pOtherSoldier->GetBodyWeight();
|
||||
|
||||
Reference in New Issue
Block a user