- deleted movecanwithsomething native function.

This was already scriptified.
This commit is contained in:
Christoph Oelckers 2022-11-20 08:52:58 +01:00
parent d44b637f1b
commit 31b1898c30

View file

@ -614,27 +614,6 @@ void detonate(DDukeActor *actor, int explosion)
//
//---------------------------------------------------------------------------
void movecanwithsomething(DDukeActor* actor)
{
makeitfall(actor);
int j = fi.ifhitbyweapon(actor);
if (j >= 0)
{
S_PlayActorSound(VENT_BUST, actor);
for (j = 0; j < 10; j++)
RANDOMSCRAP(actor);
if (actor->spr.lotag) spawn(actor, actor->spr.lotag);
deletesprite(actor);
}
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
void bounce(DDukeActor* actor)
{
DVector3 vect(actor->spr.angle.ToVector() * actor->vel.X, actor->vel.Z);