Have A_ThrownRing check for a player too

This commit is contained in:
GoldenTails 2020-12-19 21:30:13 -06:00
parent 60564197af
commit 08146c9cad
1 changed files with 1 additions and 1 deletions

View File

@ -4912,7 +4912,7 @@ void A_ThrownRing(mobj_t *actor)
}
if (actor->tracer && (actor->tracer->health)
&& (actor->tracer->player->powers[pw_shield] & SH_PROTECTELECTRIC))// Already found someone to follow.
&& (actor->tracer->player && actor->tracer->player->powers[pw_shield] & SH_PROTECTELECTRIC))// Already found someone to follow.
{
const INT32 temp = actor->threshold;
actor->threshold = 32000;