diff options
author | withmorten <morten.with@gmail.com> | 2020-12-07 00:36:40 +0100 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2020-12-07 00:36:40 +0100 |
commit | 4696e3f9c88cdf9e025205b0b525dec8c310b671 (patch) | |
tree | 635faa0dc5ff4ce5798dae7a3509042b73c63e46 /src/control/Pickups.cpp | |
parent | fixed parenthesis (diff) | |
download | re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.gz re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.bz2 re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.lz re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.xz re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.tar.zst re3-4696e3f9c88cdf9e025205b0b525dec8c310b671.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 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) |