mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 09:57:21 +01:00
Merge 35fd286cca
This commit is contained in:
parent
689316912a
commit
55c3eb674c
@ -3357,6 +3357,9 @@ CBaseEntity *CBaseMonster::DropItem( const char *pszItemName, const Vector &vecP
|
||||
// do we want this behavior to be default?! (sjb)
|
||||
pItem->pev->velocity = pev->velocity;
|
||||
pItem->pev->avelocity = Vector( 0, RANDOM_FLOAT( 0, 100 ), 0 );
|
||||
|
||||
// Dropped items should never respawn (unless this rule changes in the future). - Solokiller
|
||||
pItem->pev->spawnflags |= SF_NORESPAWN;
|
||||
return pItem;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user