Pickup and audio fix

This commit is contained in:
eray orçunus
2020-05-20 21:22:40 +03:00
parent 71b9b2ecf9
commit 5b953228b4
4 changed files with 11 additions and 2 deletions

View File

@ -136,6 +136,7 @@ CPickup::GiveUsAPickUpObject(int32 handle)
object->bExplosionProof = true;
object->bUsesCollision = false;
object->bIsPickup = true;
object->bHasPreRenderEffects = true;
object->m_nBonusValue = m_eModelIndex == MI_PICKUP_BONUS ? m_nQuantity : 0;