diff options
author | Jaume Aloy <hircine45@gmail.com> | 2014-08-19 17:57:32 +0200 |
---|---|---|
committer | Jaume Aloy <hircine45@gmail.com> | 2014-08-19 17:57:32 +0200 |
commit | 596203e692e6322c7f989b1625cbe03dc1eb6a6c (patch) | |
tree | 3c3b53fa00e31a10f68fd96984b59114d041dac5 /src/Entities/ProjectileEntity.h | |
parent | Changed if for switch (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Entities/ProjectileEntity.h | 6 |
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 */ |