mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Convert to SoldierID
This commit is contained in:
+2
-2
@@ -207,7 +207,7 @@ void RemoveAllPits()
|
||||
void SearchForOtherMembersWithinPitRadiusAndMakeThemFall( INT32 sGridNo, INT16 sRadius )
|
||||
{
|
||||
INT32 x, y, sNewGridNo;
|
||||
UINT16 ubID;
|
||||
SoldierID ubID;
|
||||
SOLDIERTYPE *pSoldier;
|
||||
|
||||
|
||||
@@ -227,7 +227,7 @@ void SearchForOtherMembersWithinPitRadiusAndMakeThemFall( INT32 sGridNo, INT16 s
|
||||
{
|
||||
// OK, make guy fall...
|
||||
// Set data to look for exit grid....
|
||||
pSoldier = MercPtrs[ ubID ];
|
||||
pSoldier = ubID;
|
||||
|
||||
pSoldier->aiData.uiPendingActionData4 = sNewGridNo;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user