- made P_AimLineAttack work through sector portals.
Note: Test output not removed yet!
This commit is contained in:
parent
c160121f45
commit
f5fd0df077
16 changed files with 466 additions and 334 deletions
|
|
@ -1797,7 +1797,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_CustomPunch)
|
|||
if (!(flags & CPF_NOTURN))
|
||||
{
|
||||
// turn to face target
|
||||
self->angle = t.SourceAngleToTarget();
|
||||
self->angle = t.angleFromSource;
|
||||
}
|
||||
|
||||
if (flags & CPF_PULLIN) self->flags |= MF_JUSTATTACKED;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue