diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-10-21 20:14:40 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-10-21 20:14:40 +0200 |
commit | 2709531f0901bf24136738e76b5427ddc16fdf7d (patch) | |
tree | db731ac6324b6834d9f6ae36d5615e77cd7f2b20 /src/control | |
parent | Pickups Done (diff) | |
download | re3-2709531f0901bf24136738e76b5427ddc16fdf7d.tar re3-2709531f0901bf24136738e76b5427ddc16fdf7d.tar.gz re3-2709531f0901bf24136738e76b5427ddc16fdf7d.tar.bz2 re3-2709531f0901bf24136738e76b5427ddc16fdf7d.tar.lz re3-2709531f0901bf24136738e76b5427ddc16fdf7d.tar.xz re3-2709531f0901bf24136738e76b5427ddc16fdf7d.tar.zst re3-2709531f0901bf24136738e76b5427ddc16fdf7d.zip |
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/Pickups.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/control/Pickups.cpp b/src/control/Pickups.cpp index 19f128bc..8b8bc1a3 100644 --- a/src/control/Pickups.cpp +++ b/src/control/Pickups.cpp @@ -218,7 +218,7 @@ CPickup::GiveUsAPickUpObject(CObject **ppObject, CObject **ppExtraObject, int32 object->bExplosionProof = true; object->bUsesCollision = false; object->bIsPickup = true; - object->obj_flag_02 = m_bWasAmmoCollected; + object->bAmmoCollected = m_bWasAmmoCollected; object->bHasPreRenderEffects = true; if (extraObject) { @@ -232,7 +232,7 @@ CPickup::GiveUsAPickUpObject(CObject **ppObject, CObject **ppExtraObject, int32 extraObject->bExplosionProof = true; extraObject->bUsesCollision = false; extraObject->bIsPickup = true; - extraObject->obj_flag_02 = true; + extraObject->bAmmoCollected = true; extraObject->bHasPreRenderEffects = true; extraObject->m_nBonusValue = 0; extraObject->bPickupObjWithMessage = false; @@ -1076,7 +1076,7 @@ CPickups::DoPickUpEffects(CEntity *entity) else corona2 = true; - if (((CObject*)entity)->obj_flag_02) { + if (((CObject*)entity)->bAmmoCollected) { corona2 = false; corona1 = false; } |