Updated cPawn::KilledBy signature for custom death messages.
This commit is contained in:
parent
7d0fc85d00
commit
430d8b42a5
@ -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();
|
||||
super::KilledBy(a_Killer);
|
||||
super::KilledBy(a_TDI);
|
||||
}
|
||||
|
||||
|
||||
|
@ -21,7 +21,7 @@ public:
|
||||
cPawn(eEntityType a_EntityType, double a_Width, double a_Height);
|
||||
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user