diff options
author | erorcun <erayorcunus@gmail.com> | 2020-12-09 01:31:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-09 01:31:03 +0100 |
commit | ac3484b82e0bd286ddd1e56fb566303d7a3ca40d (patch) | |
tree | f6c95cfd85cb2261f010983f01fd6d62a6de5ef1 /src/control/Pickups.cpp | |
parent | fix CObject::DeleteAllTempObjectsInArea (diff) | |
parent | uint8 enums fixed (diff) | |
download | re3-ac3484b82e0bd286ddd1e56fb566303d7a3ca40d.tar re3-ac3484b82e0bd286ddd1e56fb566303d7a3ca40d.tar.gz re3-ac3484b82e0bd286ddd1e56fb566303d7a3ca40d.tar.bz2 re3-ac3484b82e0bd286ddd1e56fb566303d7a3ca40d.tar.lz re3-ac3484b82e0bd286ddd1e56fb566303d7a3ca40d.tar.xz re3-ac3484b82e0bd286ddd1e56fb566303d7a3ca40d.tar.zst re3-ac3484b82e0bd286ddd1e56fb566303d7a3ca40d.zip |
Diffstat (limited to 'src/control/Pickups.cpp')
-rw-r--r-- | src/control/Pickups.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Pickups.cpp b/src/control/Pickups.cpp index 45659554..8408356d 100644 --- a/src/control/Pickups.cpp +++ b/src/control/Pickups.cpp @@ -852,7 +852,7 @@ CPickups::GenerateNewOne(CVector pos, uint32 modelIndex, uint8 type, uint32 quan if (slot >= NUMPICKUPS) return -1; - aPickUps[slot].m_eType = (ePickupType)type; + aPickUps[slot].m_eType = type; aPickUps[slot].m_bRemoved = false; aPickUps[slot].m_nQuantity = quantity; aPickUps[slot].m_nMoneySpeed = rate; |