1
0

For now, removed creator member from Entity Effect for pointer safety

This commit is contained in:
archshift
2014-07-11 17:27:29 -07:00
parent e824cd09b3
commit 4e6395d6ff
12 changed files with 94 additions and 104 deletions

View File

@@ -34,7 +34,7 @@ void cCaveSpider::Attack(float a_Dt)
if (m_Target->IsPawn())
{
// TODO: Easy = no poison, Medium = 7 seconds, Hard = 15 seconds
((cPawn *) m_Target)->AddEntityEffect(cEntityEffect::effPoison, 7 * 20, 0, this);
((cPawn *) m_Target)->AddEntityEffect(cEntityEffect::effPoison, 7 * 20, 0);
}
}