use P_MobjWasRemoved for P_MoveChaseCamera

dont need to care about synch safety here....
This commit is contained in:
alufolie91 committed 2026-06-21 23:07:20 +02:00
1 parent 066adb972e
commit 9cc74d8b17
1 file changed
+1 -1
+1 -1
View File
@@ -3739,7 +3739,7 @@ boolean P_MoveChaseCamera(player_t *player, camera_t *thiscam, boolean resetcall
fixed_t f1, f2;
// We probably shouldn't move the camera if there is no player or player mobj somehow
if (!player || !player->mo)
if (!player || P_MobjWasRemoved(player->mo))
return true;
// This can happen when joining