diff --git a/source/games/duke/src/sounds.cpp b/source/games/duke/src/sounds.cpp index 491a6fec4..e401699b7 100644 --- a/source/games/duke/src/sounds.cpp +++ b/source/games/duke/src/sounds.cpp @@ -318,7 +318,11 @@ void S_GetCamera(DVector3* c, DAngle* ca, sectortype** cs) if (ud.cameraactor == nullptr) { auto p = &ps[screenpeek]; - if (c && p->GetActor()) *c = p->posGet(); + if (c) + { + if (p->GetActor()) *c = p->posGet(); + else c->Zero(); + } if (cs) *cs = p->cursector; if (ca) *ca = p->angle.ang; }