- exported a few more weapon handling functions so that the native GetDownState stub could be removed.
This commit is contained in:
parent
d8aa39e03e
commit
595208f2fd
9 changed files with 155 additions and 165 deletions
|
|
@ -227,26 +227,6 @@ bool AWeapon::CheckAmmo(int fireMode, bool autoSwitch, bool requireAmmo, int amm
|
|||
return false;
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
//
|
||||
// AWeapon :: GetDownState
|
||||
//
|
||||
//===========================================================================
|
||||
|
||||
FState *AWeapon::GetDownState ()
|
||||
{
|
||||
IFVIRTUAL(AWeapon, GetDownState)
|
||||
{
|
||||
VMValue params[1] = { (DObject*)this };
|
||||
VMReturn ret;
|
||||
FState *retval;
|
||||
ret.PointerAt((void**)&retval);
|
||||
VMCall(func, params, 1, &ret, 1);
|
||||
return retval;
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
/* Weapon slots ***********************************************************/
|
||||
|
||||
//===========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue