- refactored p_mobj.cpp and the first half of p_map.cpp.
This commit is contained in:
parent
7658111566
commit
7ea3e49332
6 changed files with 403 additions and 360 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue