Misc patches

This commit is contained in:
Er2
2024-03-28 14:39:40 +03:00
parent c9b4449bac
commit b8c01e085f
119 changed files with 1414 additions and 794 deletions

View File

@@ -20,10 +20,10 @@ TripodCameraRenderer::TripodCameraRenderer() :
float TripodCameraRenderer::getFlashTime(TripodCamera* camera, float f)
{
if (camera->field_B90 > 7 || camera->field_B90 < 0)
if (camera->m_iTimer > 7 || camera->m_iTimer < 0)
return -1.0f;
return 0.125f * (float(camera->field_B90) - f);
return 0.125f * (float(camera->m_iTimer) - f);
}
void TripodCameraRenderer::render(Entity* entity, float x, float y, float z, float a, float b)