summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-07-26 12:55:40 +0200
committerarchshift <admin@archshift.com>2014-07-26 12:55:40 +0200
commit16e0beb5b6f6c4c103acfccc1940585513b5c258 (patch)
tree8de6a97d7110d76d4929af3b7e7fba27c92fd3fe /src/Entities
parentFixed indentations, removed redundant init code in SplashPotionEntity.cpp (diff)
downloadcuberite-16e0beb5b6f6c4c103acfccc1940585513b5c258.tar
cuberite-16e0beb5b6f6c4c103acfccc1940585513b5c258.tar.gz
cuberite-16e0beb5b6f6c4c103acfccc1940585513b5c258.tar.bz2
cuberite-16e0beb5b6f6c4c103acfccc1940585513b5c258.tar.lz
cuberite-16e0beb5b6f6c4c103acfccc1940585513b5c258.tar.xz
cuberite-16e0beb5b6f6c4c103acfccc1940585513b5c258.tar.zst
cuberite-16e0beb5b6f6c4c103acfccc1940585513b5c258.zip
Diffstat (limited to 'src/Entities')
-rw-r--r--src/Entities/SplashPotionEntity.cpp2
-rw-r--r--src/Entities/SplashPotionEntity.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/SplashPotionEntity.cpp b/src/Entities/SplashPotionEntity.cpp
index ed16f060d..fd1a0179b 100644
--- a/src/Entities/SplashPotionEntity.cpp
+++ b/src/Entities/SplashPotionEntity.cpp
@@ -72,7 +72,7 @@ cSplashPotionEntity::cSplashPotionEntity(
cEntity * a_Creator,
double a_X, double a_Y, double a_Z,
const Vector3d & a_Speed,
- cItem a_Item
+ const cItem & a_Item
) :
super(pkSplashPotion, a_Creator, a_X, a_Y, a_Z, 0.25, 0.25),
m_DestroyTimer(-1)
diff --git a/src/Entities/SplashPotionEntity.h b/src/Entities/SplashPotionEntity.h
index db1672f9b..4afc5f204 100644
--- a/src/Entities/SplashPotionEntity.h
+++ b/src/Entities/SplashPotionEntity.h
@@ -29,7 +29,7 @@ public:
cEntity * a_Creator,
double a_X, double a_Y, double a_Z,
const Vector3d & a_Speed,
- cItem a_Item
+ const cItem & a_Item
);
cEntityEffect::eType GetEntityEffectType(void) const { return m_EntityEffectType; }