mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- SpriteNum cleanup.
This commit is contained in:
parent
03c9ef6d20
commit
88a5a95cde
5 changed files with 0 additions and 19 deletions
|
@ -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))
|
||||
{
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue