diff --git a/source/games/duke/src/player_r.cpp b/source/games/duke/src/player_r.cpp index ada84045c..fe2806a70 100644 --- a/source/games/duke/src/player_r.cpp +++ b/source/games/duke/src/player_r.cpp @@ -2710,7 +2710,7 @@ static void operateweapon(int snum, ESyncBits actions, sectortype* psectp) auto p = &ps[snum]; auto pact = p->GetActor(); int i, k; - int psectlotag = psectp->lotag; + int psectlotag = psectp ? psectp->lotag : 857; if (!isRRRA() && p->curr_weapon >= MOTORCYCLE_WEAPON) return; switch (p->curr_weapon)