- removed a redundant Vec3Offset call in A_SpawnParticle.

This commit is contained in:
Christoph Oelckers 2016-04-03 21:03:49 +02:00
parent 3ee42f6aa6
commit 02a586e6b2
2 changed files with 1 additions and 2 deletions

View file

@ -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

View file

@ -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;