NSProjectile: Fix small compiler warning.

This commit is contained in:
Marco Cawthorne 2022-02-04 10:22:01 -08:00
parent 4c6800aa4f
commit c4a5070027
Signed by: eukara
GPG key ID: C196CD8BA993248A
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ class NSProjectile:NSSurfacePropEntity
virtual void(entity, entity) m_pImpact = 0;
virtual void(void()) SetImpact;
virtual void(void(entity, entity)) SetImpact;
virtual void(string) SetModel;
virtual void(void) ProjectileTouch;
};

View file

@ -24,7 +24,7 @@ NSProjectile::ProjectileTouch(void)
}
void
NSProjectile::SetImpact(void() func)
NSProjectile::SetImpact(void(entity a,entity b) func)
{
m_pImpact = func;
}