Skip to content

Commit

Permalink
Update original GSC hemi check with OGSR raypick check
Browse files Browse the repository at this point in the history
  • Loading branch information
yohjimane committed Aug 9, 2023
1 parent e30ce4b commit f4e6fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrGame/GamePersistent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ void CGamePersistent::WeathersUpdate()
CActor* actor = smart_cast<CActor*>(Level().CurrentViewEntity());
BOOL bIndoor = TRUE;
if (actor)
bIndoor = actor->renderable_ROS()->get_luminocity_hemi() < 0.05f;
bIndoor = g_pGamePersistent->IsActorInHideout() && (actor->renderable_ROS()->get_luminocity_hemi() < 0.05f);

if (CEnvAmbient* env_amb = Environment().CurrentEnv.env_ambient)
{
Expand Down

0 comments on commit f4e6fbc

Please sign in to comment.