- refactored p_mobj.cpp and the first half of p_map.cpp.

This commit is contained in:
Christoph Oelckers 2016-01-20 01:48:57 +01:00
commit 7ea3e49332
6 changed files with 403 additions and 360 deletions

View file

@ -4603,7 +4603,6 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_WolfAttack)
fixedvec2 vec = self->Vec2To(self->target);
fixed_t dx = abs (vec.x);
fixed_t dy = abs (vec.y);
fixed_t dz;
fixed_t dist = dx > dy ? dx : dy;
// Some enemies are more precise