2
0
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:
2018-05-09 19:56:54 -07:00
parent b58ebc1af5
commit fdf55e7272
10 changed files with 130 additions and 14 deletions

View File

@@ -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)