mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Check that a dropped backpack belongs to a controllable merc (#320)
Fixes handle BP pickup behavior if a merc drops a backpack and then leaves the sector.
This commit is contained in:
@@ -8318,7 +8318,7 @@ void HandleTBBackpacks(void)
|
||||
{
|
||||
pTeamSoldier = MercPtrs[ubLoop];
|
||||
|
||||
if (pTeamSoldier->flags.DropPackFlag)
|
||||
if (OK_CONTROLLABLE_MERC(pTeamSoldier) && pTeamSoldier->flags.DropPackFlag)
|
||||
{
|
||||
backpackDropped = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user