mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 13:47:43 +00:00
Implement CScriptHUDMemo, increase render bucket size, initial debug overlay
This commit is contained in:
@@ -696,7 +696,7 @@ void CGameArea::UpdateThermalVisor(float dt)
|
||||
void CGameArea::UpdateWeaponWorldLighting(float dt)
|
||||
{
|
||||
float newLightingLevel = x12c_postConstructed->x1128_worldLightingLevel;
|
||||
if (x12c_postConstructed->x112c_xraySpeed != 0)
|
||||
if (x12c_postConstructed->x112c_xraySpeed != 0.f)
|
||||
{
|
||||
float speed = dt * x12c_postConstructed->x112c_xraySpeed;
|
||||
if (std::fabs(x12c_postConstructed->x1130_xrayTarget - newLightingLevel) < speed)
|
||||
|
||||
Reference in New Issue
Block a user