mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- removed a redundant Vec3Offset call in A_SpawnParticle.
This commit is contained in:
parent
3ee42f6aa6
commit
02a586e6b2
2 changed files with 1 additions and 2 deletions
|
@ -87,7 +87,7 @@ const double CARRYFACTOR = 3 / 32.;
|
|||
bool CheckIfExitIsGood (AActor *self, level_info_t *info);
|
||||
|
||||
// at map load
|
||||
void P_InitSectorSpecial(sector_t *sector, int special, bool nothinkers);
|
||||
void P_InitSectorSpecial(sector_t *sector, int special);
|
||||
void P_SpawnSpecials (void);
|
||||
|
||||
// every tic
|
||||
|
|
|
@ -3038,7 +3038,6 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_SpawnParticle)
|
|||
acc.X = accelx * c + accely * s;
|
||||
acc.Y = accelx * s - accely * c;
|
||||
}
|
||||
pos = self->Vec3Offset(xoff, yoff, zoff);
|
||||
P_SpawnParticle(self->Vec3Offset(pos), vel, acc, color, !!(flags & SPF_FULLBRIGHT), startalpha, lifetime, size, fadestep);
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue