From 31b1898c308f5fa44aa9add22e3adf7ee89d4754 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 20 Nov 2022 08:52:58 +0100 Subject: [PATCH] - deleted movecanwithsomething native function. This was already scriptified. --- source/games/duke/src/actors.cpp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/source/games/duke/src/actors.cpp b/source/games/duke/src/actors.cpp index e6debe155..239cc7488 100644 --- a/source/games/duke/src/actors.cpp +++ b/source/games/duke/src/actors.cpp @@ -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);