Skip to content

Commit

Permalink
Add security check for UpdateCameraDirection method
Browse files Browse the repository at this point in the history
  • Loading branch information
v2v3v4 committed Mar 10, 2025
1 parent d5db5a7 commit d2c3350
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/xrGame/ui/UITalkWnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ void CUITalkWnd::SendMessage(CUIWindow* pWnd, s16 msg, void* pData)
//////////////////////////////////////////////////////////////////////////
void UpdateCameraDirection(CGameObject* pTo)
{
if (!pTo) return;
CCameraBase* cam = Actor()->cam_Active();

Fvector des_dir;
Expand Down

0 comments on commit d2c3350

Please sign in to comment.