1
0

Updated cPawn::KilledBy signature for custom death messages.

This commit is contained in:
madmaxoft 2014-07-17 11:07:10 +02:00
parent 7d0fc85d00
commit 430d8b42a5
2 changed files with 3 additions and 3 deletions

View File

@ -49,10 +49,10 @@ void cPawn::Tick(float a_Dt, cChunk & a_Chunk)
void cPawn::KilledBy(cEntity * a_Killer) void cPawn::KilledBy(TakeDamageInfo & a_TDI)
{ {
ClearEntityEffects(); ClearEntityEffects();
super::KilledBy(a_Killer); super::KilledBy(a_TDI);
} }

View File

@ -21,7 +21,7 @@ public:
cPawn(eEntityType a_EntityType, double a_Width, double a_Height); cPawn(eEntityType a_EntityType, double a_Width, double a_Height);
virtual void Tick(float a_Dt, cChunk & a_Chunk) override; virtual void Tick(float a_Dt, cChunk & a_Chunk) override;
virtual void KilledBy(cEntity * a_Killer) override; virtual void KilledBy(TakeDamageInfo & a_TDI) override;
// tolua_begin // tolua_begin