Skip to content

Commit

Permalink
- GCC is dumb
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Jun 6, 2022
1 parent d1caf3a commit 90def7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/playsim/fragglescript/t_func.cpp
Expand Up @@ -1273,7 +1273,7 @@ void FParser::SF_MobjTarget(void)
}

t_return.type = svt_mobj;
t_return.value.mobj = mo ? mo->target : NULL;
t_return.value.mobj = mo ? mo->target : nullptr;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/playsim/p_actionfunctions.cpp
Expand Up @@ -1201,7 +1201,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_CustomRailgun)
{
self->Angles.Yaw = self->AngleTo(self->target);
}
self->Angles.Pitch = P_AimLineAttack (self, self->Angles.Yaw, MISSILERANGE, &t, 60., 0, aim ? self->target : NULL);
self->Angles.Pitch = P_AimLineAttack (self, self->Angles.Yaw, MISSILERANGE, &t, 60., 0, aim ? self->target : nullptr);
if (t.linetarget == NULL && aim)
{
// We probably won't hit the target, but aim at it anyway so we don't look stupid.
Expand Down

0 comments on commit 90def7e

Please sign in to comment.