Skip to content

Commit

Permalink
crashfix
Browse files Browse the repository at this point in the history
  • Loading branch information
videoP committed Feb 25, 2024
1 parent 5fb9249 commit 34071a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codemp/game/g_missile.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ gentity_t *CreateMissileNew( vec3_t org, vec3_t dir, float vel, int life, gentit
SnapVector(org);
VectorCopy( org, missile->s.pos.trBase );

if (owner->client->sess.raceMode) {
if (owner->client && owner->client->sess.raceMode) {
inheritance = 0;
}

Expand Down

0 comments on commit 34071a0

Please sign in to comment.