Using Super.
This commit is contained in:
committed by
Alexander Harkness
parent
f931590bf0
commit
9ee47e5999
@@ -8,7 +8,7 @@
|
||||
|
||||
|
||||
cFireChargeEntity::cFireChargeEntity(cEntity * a_Creator, Vector3d a_Pos, Vector3d a_Speed):
|
||||
super(pkFireCharge, a_Creator, a_Pos, 0.3125, 0.3125)
|
||||
Super(pkFireCharge, a_Creator, a_Pos, 0.3125, 0.3125)
|
||||
{
|
||||
SetSpeed(a_Speed);
|
||||
SetGravity(0);
|
||||
@@ -43,7 +43,7 @@ void cFireChargeEntity::OnHitSolidBlock(Vector3d a_HitPos, eBlockFace a_HitFace)
|
||||
|
||||
void cFireChargeEntity::OnHitEntity(cEntity & a_EntityHit, Vector3d a_HitPos)
|
||||
{
|
||||
super::OnHitEntity(a_EntityHit, a_HitPos);
|
||||
Super::OnHitEntity(a_EntityHit, a_HitPos);
|
||||
|
||||
Destroy();
|
||||
Explode(a_HitPos.Floor());
|
||||
|
||||
Reference in New Issue
Block a user