SplashPotionEntity: Use const cItem &
instead of a cItem
This commit is contained in:
parent
60d4a16514
commit
16e0beb5b6
@ -72,7 +72,7 @@ cSplashPotionEntity::cSplashPotionEntity(
|
|||||||
cEntity * a_Creator,
|
cEntity * a_Creator,
|
||||||
double a_X, double a_Y, double a_Z,
|
double a_X, double a_Y, double a_Z,
|
||||||
const Vector3d & a_Speed,
|
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),
|
super(pkSplashPotion, a_Creator, a_X, a_Y, a_Z, 0.25, 0.25),
|
||||||
m_DestroyTimer(-1)
|
m_DestroyTimer(-1)
|
||||||
|
@ -29,7 +29,7 @@ public:
|
|||||||
cEntity * a_Creator,
|
cEntity * a_Creator,
|
||||||
double a_X, double a_Y, double a_Z,
|
double a_X, double a_Y, double a_Z,
|
||||||
const Vector3d & a_Speed,
|
const Vector3d & a_Speed,
|
||||||
cItem a_Item
|
const cItem & a_Item
|
||||||
);
|
);
|
||||||
|
|
||||||
cEntityEffect::eType GetEntityEffectType(void) const { return m_EntityEffectType; }
|
cEntityEffect::eType GetEntityEffectType(void) const { return m_EntityEffectType; }
|
||||||
|
Loading…
Reference in New Issue
Block a user