mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- forgotten cleanup.
This commit is contained in:
parent
ed2d8373fc
commit
b97760db29
2 changed files with 2 additions and 7 deletions
|
@ -52,7 +52,7 @@ BEGIN_SW_NS
|
|||
// only for timed quakes
|
||||
#define QUAKE_WaitForTrigger(sp) (TEST_BOOL3(sp))
|
||||
|
||||
short CopyQuakeSpotToOn(SPRITEp sp)
|
||||
void CopyQuakeSpotToOn(SPRITEp sp)
|
||||
{
|
||||
auto actorNew = InsertActor(sp->sectnum, STAT_QUAKE_SPOT);
|
||||
auto np = &actorNew->s();
|
||||
|
@ -68,8 +68,6 @@ short CopyQuakeSpotToOn(SPRITEp sp)
|
|||
change_actor_stat(actorNew, STAT_QUAKE_ON);
|
||||
|
||||
QUAKE_Duration(np) *= 120;
|
||||
|
||||
return actorNew->GetSpriteIndex();
|
||||
}
|
||||
|
||||
|
||||
|
@ -236,7 +234,7 @@ void QuakeViewChange(PLAYERp pp, int *z_diff, int *x_diff, int *y_diff, short *a
|
|||
}
|
||||
}
|
||||
|
||||
int SpawnQuake(short sectnum, int x, int y, int z,
|
||||
void SpawnQuake(short sectnum, int x, int y, int z,
|
||||
short tics, short amt, int radius)
|
||||
{
|
||||
|
||||
|
@ -257,8 +255,6 @@ int SpawnQuake(short sectnum, int x, int y, int z,
|
|||
QUAKE_PosAmt(sp) = 0;
|
||||
|
||||
PlaySound(DIGI_ERUPTION, actorNew, v3df_follow|v3df_dontpan);
|
||||
|
||||
return actorNew->GetSpriteIndex();
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
|
@ -4008,7 +4008,6 @@ int SpawnItemsMatch(short match)
|
|||
SWStatIterator it(STAT_SPAWN_ITEMS);
|
||||
while (auto itActor = it.Next())
|
||||
{
|
||||
int si = itActor->GetSpriteIndex();
|
||||
sip = &itActor->s();
|
||||
|
||||
if (SP_TAG2(sip) != match)
|
||||
|
|
Loading…
Reference in a new issue