- more coordinate refactoring in p_enemy.cpp.

This commit is contained in:
Christoph Oelckers 2016-01-17 22:13:17 +01:00
commit a65ff39872
3 changed files with 48 additions and 53 deletions

View file

@ -429,7 +429,7 @@ void P_RunEffect (AActor *actor, int effects)
fixedvec3 pos = actor->Vec3Offset(
backx - FixedMul(actor->velx, pathdist),
backy - FixedMul(actor->vely, pathdist),
backz - FixedMul(actor->velz, pathdist) + (M_Random() << 10);
backz - FixedMul(actor->velz, pathdist) + (M_Random() << 10));
particle->x = pos.x;
particle->y = pos.y;
particle->z = pos.z;