1
0

SplashPotionEntity: Use const cItem & instead of a cItem

This commit is contained in:
archshift 2014-07-26 03:55:40 -07:00
parent 60d4a16514
commit 16e0beb5b6
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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; }