docs: fix stale PLAYERCONTROL_CAMERA comment in wheel AllowedToOpen (issue #31)
linux / build (push) Successful in 22m21s

This commit is contained in:
2026-12-02 15:28:56 +00:00
parent f9a0da0d17
commit a5c7a78305
+2 -2
View File
@@ -556,8 +556,8 @@ Wheel_AllowedToOpen(void)
if (CReplay::IsPlayingBack() || TheCamera.m_WideScreenOn || CGame::playingIntro)
return false;
// Rendering (and therefore CHud::Draw) is skipped during the fully faded
// state and during scene edit; close the wheel rather than leaving its
// PLAYERCONTROL_CAMERA bit set while it cannot be seen.
// state and during scene edit; close the wheel rather than leaving it open
// while it cannot be seen.
if (TheCamera.GetScreenFadeStatus() == FADE_2)
return false;
#ifdef GTA_SCENE_EDIT