diff --git a/Source/player.cpp b/Source/player.cpp index b713f86cf..983eb0a38 100644 --- a/Source/player.cpp +++ b/Source/player.cpp @@ -1146,6 +1146,10 @@ void __fastcall PM_ChangeLightOff(int pnum) TermMsg("PM_ChangeLightOff: illegal player %d", pnum); } + // check if issue is upstream + if(plr[pnum]._plid == -1) + return; + l = &LightList[plr[pnum]._plid]; ymul = -1; x = 2 * plr[pnum]._pyoff + plr[pnum]._pxoff;