mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
- Fixed: AFSwordMissile::DoSpecialDamage had a unique prototype
so it would never actually be called.
This commit is contained in:
parent
637798c1b5
commit
02514dc9b2
1 changed files with 2 additions and 2 deletions
|
@ -58,12 +58,12 @@ class AFSwordMissile : public AActor
|
||||||
{
|
{
|
||||||
DECLARE_CLASS (AFSwordMissile, AActor)
|
DECLARE_CLASS (AFSwordMissile, AActor)
|
||||||
public:
|
public:
|
||||||
int DoSpecialDamage(AActor *victim, AActor *source, int damage, FName damagetype);
|
int DoSpecialDamage(AActor *victim, int damage, FName damagetype);
|
||||||
};
|
};
|
||||||
|
|
||||||
IMPLEMENT_CLASS (AFSwordMissile)
|
IMPLEMENT_CLASS (AFSwordMissile)
|
||||||
|
|
||||||
int AFSwordMissile::DoSpecialDamage(AActor *victim, AActor *source, int damage, FName damagetype)
|
int AFSwordMissile::DoSpecialDamage(AActor *victim, int damage, FName damagetype)
|
||||||
{
|
{
|
||||||
if (victim->player)
|
if (victim->player)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue