1
0

Cave spider now poisons its victim, added IsPawn function to Entity

This commit is contained in:
archshift
2014-06-11 16:21:47 -07:00
parent 814cdca054
commit 71b4c49490
5 changed files with 24 additions and 5 deletions

View File

@@ -77,7 +77,7 @@ bool cSplashPotionEntity::cSplashPotionCallback::Item(cEntity * a_Entity)
m_EntityEffect.SetDistanceModifier(reduction);
if (a_Entity->IsMob() || a_Entity->IsPlayer())
if (a_Entity->IsPawn())
{
((cPawn *) a_Entity)->AddEntityEffect(m_EntityEffectType, m_EntityEffect);
}