mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- SetGunQuake
This commit is contained in:
parent
2f1e23a654
commit
03c9ef6d20
3 changed files with 4 additions and 4 deletions
|
@ -101,7 +101,7 @@ void QuakeViewChange(PLAYERp pp, int* z_diff, int* x_diff, int* y_diff, short* a
|
|||
void DoQuake(PLAYERp pp);
|
||||
bool SetQuake(PLAYERp pp, short tics, short amt);
|
||||
int SetExpQuake(DSWActor*);
|
||||
int SetGunQuake(int16_t SpriteNum);
|
||||
int SetGunQuake(DSWActor*);
|
||||
int SetPlayerQuake(PLAYERp mpp);
|
||||
int SetNuclearQuake(DSWActor*);
|
||||
int SetSumoQuake(DSWActor*);
|
||||
|
|
|
@ -278,9 +278,9 @@ SetExpQuake(DSWActor* actor)
|
|||
}
|
||||
|
||||
int
|
||||
SetGunQuake(int16_t SpriteNum)
|
||||
SetGunQuake(DSWActor* actor)
|
||||
{
|
||||
SPRITEp sp = &sprite[SpriteNum];
|
||||
SPRITEp sp = &actor->s();
|
||||
|
||||
SpawnQuake(sp->sectnum, sp->x, sp->y, sp->z, 40, 8, 40000);
|
||||
|
||||
|
|
|
@ -16881,7 +16881,7 @@ int InitSobjGun(PLAYERp pp)
|
|||
case 0:
|
||||
SpawnVis(actor, -1, -1, -1, -1, 8);
|
||||
SpawnBigGunFlames(actor, pp->Actor(), pp->sop, false);
|
||||
SetGunQuake(actor->GetSpriteIndex());
|
||||
SetGunQuake(actor);
|
||||
InitTankShell(actor, pp);
|
||||
if (!SP_TAG5(sp))
|
||||
pp->FirePause = 80;
|
||||
|
|
Loading…
Reference in a new issue