diff options
author | madmaxoft <github@xoft.cz> | 2014-09-01 14:03:39 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-09-01 14:03:39 +0200 |
commit | 9a4e8bf83fef9614bfe9efdc341c2ed2c7e108ed (patch) | |
tree | c232526f4bc7b6d5bd2d67356ada8b18378fcc00 /src/Entities/ProjectileEntity.h | |
parent | Avoid false positive in style check. (diff) | |
parent | Fixed style (diff) | |
download | cuberite-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.h | 6 |
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 */ |