diff --git a/source/snow/snow.ixx b/source/snow/snow.ixx index 9efceaf8..5e5b77ad 100644 --- a/source/snow/snow.ixx +++ b/source/snow/snow.ixx @@ -628,7 +628,7 @@ public: if (bEnableSnow) { auto light = (rage::CLightSource*)(regs.esi + regs.eax * 1); - *(float*)(regs.esp + 0xEC) = LightVolumeIntensity[std::make_tuple(static_cast(light->mPosition.x), static_cast(light->mPosition.y), static_cast(light->mPosition.z))]; + *(float*)(regs.esp + 0x68) = LightVolumeIntensity[std::make_tuple(static_cast(light->mPosition.x), static_cast(light->mPosition.y), static_cast(light->mPosition.z))]; } else *(float*)(regs.esp + 0x68) = 1.0f;