summaryrefslogtreecommitdiffstats
path: root/src/Entities/ProjectileEntity.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-09-01 14:03:39 +0200
committermadmaxoft <github@xoft.cz>2014-09-01 14:03:39 +0200
commit9a4e8bf83fef9614bfe9efdc341c2ed2c7e108ed (patch)
treec232526f4bc7b6d5bd2d67356ada8b18378fcc00 /src/Entities/ProjectileEntity.h
parentAvoid false positive in style check. (diff)
parentFixed style (diff)
downloadcuberite-9a4e8bf83fef9614bfe9efdc341c2ed2c7e108ed.tar
cuberite-9a4e8bf83fef9614bfe9efdc341c2ed2c7e108ed.tar.gz
cuberite-9a4e8bf83fef9614bfe9efdc341c2ed2c7e108ed.tar.bz2
cuberite-9a4e8bf83fef9614bfe9efdc341c2ed2c7e108ed.tar.lz
cuberite-9a4e8bf83fef9614bfe9efdc341c2ed2c7e108ed.tar.xz
cuberite-9a4e8bf83fef9614bfe9efdc341c2ed2c7e108ed.tar.zst
cuberite-9a4e8bf83fef9614bfe9efdc341c2ed2c7e108ed.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..990136a32 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, const 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 */