Skip to content

Commit 3068896

Browse files
authored
Fix vehicle sun glare is still enabled after reconnect (#2527)
1 parent c372dc3 commit 3068896

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Client/game_sa/CGameSA.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,9 @@ void CGameSA::Reset()
490490

491491
// Restore vehicle model wheel sizes
492492
CModelInfoSA::ResetAllVehiclesWheelSizes();
493+
494+
// Reset the vehicle sun glare effect to default
495+
CVehicleSA::SetVehiclesSunGlareEnable(false);
493496
}
494497
}
495498

0 commit comments

Comments
 (0)