summaryrefslogtreecommitdiffstats
path: root/src/control/Pickups.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-12-09 01:31:03 +0100
committerGitHub <noreply@github.com>2020-12-09 01:31:03 +0100
commitac3484b82e0bd286ddd1e56fb566303d7a3ca40d (patch)
treef6c95cfd85cb2261f010983f01fd6d62a6de5ef1 /src/control/Pickups.cpp
parentfix CObject::DeleteAllTempObjectsInArea (diff)
parentuint8 enums fixed (diff)
downloadre3-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.cpp2
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;