- SpriteNum cleanup.

This commit is contained in:
Christoph Oelckers 2021-11-06 10:27:16 +01:00
parent 03c9ef6d20
commit 88a5a95cde
5 changed files with 0 additions and 19 deletions

View file

@ -599,8 +599,6 @@ int DoTrashCan(DSWActor* actor)
USER* u = actor->u();
SPRITEp sp = &actor->s();
//(*u->ActorActionFunc) (SpriteNum);
// stay on floor unless doing certain things
if (TEST(u->Flags,SPR_SLIDING))
DoActorSlide(actor);
@ -1290,9 +1288,6 @@ int DoCarGirl(DSWActor* actor)
}
}
//(*u->ActorActionFunc) (SpriteNum);
// stay on floor unless doing certain things
if (!TEST(u->Flags, SPR_JUMPING | SPR_FALLING | SPR_CLIMBING))
{
@ -1508,9 +1503,6 @@ int DoMechanicGirl(DSWActor* actor)
}
}
//(*u->ActorActionFunc) (SpriteNum);
// stay on floor unless doing certain things
if (!TEST(u->Flags, SPR_JUMPING | SPR_FALLING | SPR_CLIMBING))
{
@ -1731,9 +1723,6 @@ int DoSailorGirl(DSWActor* actor)
}
}
//(*u->ActorActionFunc) (SpriteNum);
// stay on floor unless doing certain things
if (!TEST(u->Flags, SPR_JUMPING | SPR_FALLING | SPR_CLIMBING))
{
@ -1954,9 +1943,6 @@ int DoPruneGirl(DSWActor* actor)
}
}
//(*u->ActorActionFunc) (SpriteNum);
// stay on floor unless doing certain things
if (!TEST(u->Flags, SPR_JUMPING | SPR_FALLING | SPR_CLIMBING))
{

View file

@ -1184,7 +1184,6 @@ int DoRipperPain(DSWActor* actor)
// CTW MODIFICATION
//int DoRipperRipHeart(SpriteNum)
int DoRipperRipHeart(DSWActor* actor)
// CTW MODIFICATION END
{
@ -1202,7 +1201,6 @@ int DoRipperRipHeart(DSWActor* actor)
}
//int DoRipperStandHeart(SpriteNum)
int DoRipperStandHeart(DSWActor* actor)
{
USER* u = actor->u();

View file

@ -917,7 +917,6 @@ void SectorExp(DSWActor* actor, short sectnum, short orig_ang, int zh)
// setup vars needed by SectorExp
ChangeActorSect(actor, sectnum);
//setspritez(SpriteNum, &sp->pos);
getzsofslope(sp->sectnum, sp->x, sp->y, &u->hiz, &u->loz);
// spawn explosion

View file

@ -30,7 +30,6 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
BEGIN_SW_NS
void KillSprite(int16_t SpriteNum);
void KillActor(DSWActor* actor);
DSWActor* SpawnActor(short stat, short id, STATEp state, short sectnum, int x, int y, int z, int ang, int vel);
void SpriteSetup(void);

View file

@ -740,7 +740,6 @@ int InitSumoFart(DSWActor* actor)
int InitSumoStomp(DSWActor* actor)
{
USER* u = actor->u();
int SpriteNum = u->SpriteNum;
SPRITEp sp = &actor->s();
PlaySound(DIGI_SUMOSTOMP, actor, v3df_none);