Skip to content

Commit 1c01b59

Browse files
committed
Fix setVehicleColor right after creating vehicle
1 parent ac015db commit 1c01b59

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)