diff --git a/LEGO1/lego/legoomni/src/build/legocarbuild.cpp b/LEGO1/lego/legoomni/src/build/legocarbuild.cpp index bb23e5d7..4b9d78ea 100644 --- a/LEGO1/lego/legoomni/src/build/legocarbuild.cpp +++ b/LEGO1/lego/legoomni/src/build/legocarbuild.cpp @@ -1388,7 +1388,7 @@ void LegoCarBuild::SetPartColor(MxS32 p_objectId) m_Paint_Sound->Enable(FALSE); m_Paint_Sound->Enable(TRUE); - m_selectedPart->FUN_100a93b0(color); + m_selectedPart->SetColorByName(color); sprintf(buffer, "c_%s", m_selectedPart->GetName()); VariableTable()->SetVariable(buffer, color); } diff --git a/LEGO1/lego/sources/roi/legoroi.cpp b/LEGO1/lego/sources/roi/legoroi.cpp index f67cb1ce..e0677835 100644 --- a/LEGO1/lego/sources/roi/legoroi.cpp +++ b/LEGO1/lego/sources/roi/legoroi.cpp @@ -601,7 +601,7 @@ LegoResult LegoROI::SetLodColor(const LegoChar* p_name) // FUNCTION: LEGO1 0x100a93b0 // FUNCTION: BETA10 0x1018b2c0 -LegoResult LegoROI::FUN_100a93b0(const LegoChar* p_name) +LegoResult LegoROI::SetColorByName(const LegoChar* p_name) { MxFloat red, green, blue, alpha; if (ColorAliasLookup(p_name, red, green, blue, alpha)) { diff --git a/LEGO1/lego/sources/roi/legoroi.h b/LEGO1/lego/sources/roi/legoroi.h index 3fa33bd3..3049d6c5 100644 --- a/LEGO1/lego/sources/roi/legoroi.h +++ b/LEGO1/lego/sources/roi/legoroi.h @@ -52,7 +52,7 @@ class LegoROI : public ViewROI { LegoResult GetTextureInfo(LegoTextureInfo*& p_textureInfo); LegoResult SetColor(LegoFloat p_red, LegoFloat p_green, LegoFloat p_blue, LegoFloat p_alpha); LegoResult SetLodColor(const LegoChar* p_name); - LegoResult FUN_100a93b0(const LegoChar* p_name); + LegoResult SetColorByName(const LegoChar* p_name); LegoU32 Intersect(Vector3& p_v1, Vector3& p_v2, float p_f1, float p_f2, Vector3& p_v3, LegoBool p_collideBox); void SetName(const LegoChar* p_name);