- more coordinate refactoring in p_enemy.cpp.
This commit is contained in:
parent
be91771abc
commit
a65ff39872
3 changed files with 48 additions and 53 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue