rename parameter too

This commit is contained in:
Erik Schulze 2025-05-19 21:17:53 +02:00
parent e9a27e0618
commit 8d8017ac26
2 changed files with 3 additions and 3 deletions

View File

@ -78,9 +78,9 @@ void ViewROI::VTable0x1c()
} }
// FUNCTION: LEGO1 0x100aa500 // FUNCTION: LEGO1 0x100aa500
unsigned char ViewROI::SetLightSupport(unsigned char p_flag) unsigned char ViewROI::SetLightSupport(unsigned char p_lightSupport)
{ {
unsigned char oldFlag = g_lightSupport; unsigned char oldFlag = g_lightSupport;
g_lightSupport = p_flag; g_lightSupport = p_lightSupport;
return oldFlag; return oldFlag;
} }

View File

@ -59,7 +59,7 @@ class ViewROI : public OrientableROI {
int GetUnknown0xe0() { return m_unk0xe0; } int GetUnknown0xe0() { return m_unk0xe0; }
void SetUnknown0xe0(int p_unk0xe0) { m_unk0xe0 = p_unk0xe0; } void SetUnknown0xe0(int p_unk0xe0) { m_unk0xe0 = p_unk0xe0; }
static unsigned char SetLightSupport(unsigned char p_flag); static unsigned char SetLightSupport(unsigned char p_lightSupport);
protected: protected:
void UpdateWorldData(const Matrix4& parent2world) override; // vtable+0x28 void UpdateWorldData(const Matrix4& parent2world) override; // vtable+0x28