Skip to content

Commit ec22f36

Browse files
authored
Merge pull request #216 from emre1702/getVehicleColor_fix
#9033 - Fix setVehicleColor (Client) right after creating vehicle
2 parents c31350a + 1c01b59 commit ec22f36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Client/mods/deathmatch/logic/CClientVehicle.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -941,6 +941,7 @@ CVehicleColor& CClientVehicle::GetColor(void)
941941
void CClientVehicle::SetColor(const CVehicleColor& color)
942942
{
943943
m_Color = color;
944+
m_bColorSaved = true;
944945
if (m_pVehicle)
945946
{
946947
m_pVehicle->SetColor(m_Color.GetRGBColor(0), m_Color.GetRGBColor(1), m_Color.GetRGBColor(2), m_Color.GetRGBColor(3), 0);

0 commit comments

Comments
 (0)