summaryrefslogtreecommitdiffstats
path: root/src/control/Pickups.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-12-09 01:15:20 +0100
committerGitHub <noreply@github.com>2020-12-09 01:15:20 +0100
commit6b654094a5299d55a3621a3a23b6dafbb48b78e9 (patch)
treee9735ff0ce34dbfca24bf6c4fc609cbacaac81f1 /src/control/Pickups.cpp
parentfix CObject::DeleteAllTempObjectsInArea (diff)
parentdon't cast script param to uint8 (diff)
downloadre3-6b654094a5299d55a3621a3a23b6dafbb48b78e9.tar
re3-6b654094a5299d55a3621a3a23b6dafbb48b78e9.tar.gz
re3-6b654094a5299d55a3621a3a23b6dafbb48b78e9.tar.bz2
re3-6b654094a5299d55a3621a3a23b6dafbb48b78e9.tar.lz
re3-6b654094a5299d55a3621a3a23b6dafbb48b78e9.tar.xz
re3-6b654094a5299d55a3621a3a23b6dafbb48b78e9.tar.zst
re3-6b654094a5299d55a3621a3a23b6dafbb48b78e9.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 1b1c8cbc..19b3d3a7 100644
--- a/src/control/Pickups.cpp
+++ b/src/control/Pickups.cpp
@@ -535,7 +535,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;
if (type == PICKUP_ONCE_TIMEOUT)