- handled most level references in actorinlines.h and p_mobj.cpp.
This commit is contained in:
parent
c94f0f47a2
commit
73696e2781
6 changed files with 76 additions and 69 deletions
|
|
@ -965,8 +965,8 @@ DAngle P_BulletSlope (AActor *mo, FTranslatedLineTarget *pLineTarget, int aimfla
|
|||
an = mo->Angles.Yaw + angdiff[i];
|
||||
pitch = P_AimLineAttack (mo, an, 16.*64, pLineTarget, 0., aimflags);
|
||||
|
||||
if (mo->player != NULL &&
|
||||
level.IsFreelookAllowed() &&
|
||||
if (mo->player != nullptr &&
|
||||
mo->Level->IsFreelookAllowed() &&
|
||||
mo->player->userinfo.GetAimDist() <= 0.5)
|
||||
{
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue