summaryrefslogtreecommitdiffstats
path: root/src/Entities/ProjectileEntity.h
diff options
context:
space:
mode:
authorJaume Aloy <hircine45@gmail.com>2014-08-19 17:57:32 +0200
committerJaume Aloy <hircine45@gmail.com>2014-08-19 17:57:32 +0200
commit596203e692e6322c7f989b1625cbe03dc1eb6a6c (patch)
tree3c3b53fa00e31a10f68fd96984b59114d041dac5 /src/Entities/ProjectileEntity.h
parentChanged if for switch (diff)
downloadcuberite-596203e692e6322c7f989b1625cbe03dc1eb6a6c.tar
cuberite-596203e692e6322c7f989b1625cbe03dc1eb6a6c.tar.gz
cuberite-596203e692e6322c7f989b1625cbe03dc1eb6a6c.tar.bz2
cuberite-596203e692e6322c7f989b1625cbe03dc1eb6a6c.tar.lz
cuberite-596203e692e6322c7f989b1625cbe03dc1eb6a6c.tar.xz
cuberite-596203e692e6322c7f989b1625cbe03dc1eb6a6c.tar.zst
cuberite-596203e692e6322c7f989b1625cbe03dc1eb6a6c.zip
Diffstat (limited to 'src/Entities/ProjectileEntity.h')
-rw-r--r--src/Entities/ProjectileEntity.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Entities/ProjectileEntity.h b/src/Entities/ProjectileEntity.h
index 0ebc32f36..58dc38702 100644
--- a/src/Entities/ProjectileEntity.h
+++ b/src/Entities/ProjectileEntity.h
@@ -94,14 +94,16 @@ protected:
*/
struct CreatorData
{
- CreatorData(int a_UniqueID, const AString & a_Name) :
+ CreatorData(int a_UniqueID, const AString & a_Name, cEnchantments a_Enchantments) :
m_UniqueID(a_UniqueID),
- m_Name(a_Name)
+ m_Name(a_Name),
+ m_Enchantments(a_Enchantments)
{
}
const int m_UniqueID;
AString m_Name;
+ cEnchantments m_Enchantments;
};
/** The type of projectile I am */