From 498a5ca4cdf0e677955fef2bf61681dd2ea1f241 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Sun, 22 Mar 2015 17:40:08 +0100 Subject: [PATCH] Reapplied temporary fix for #94 --- src/object/robotmain.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/object/robotmain.cpp b/src/object/robotmain.cpp index 36b9182a..de8663e9 100644 --- a/src/object/robotmain.cpp +++ b/src/object/robotmain.cpp @@ -2856,6 +2856,10 @@ void CRobotMain::ScenePerso() CObjectManager::GetInstancePointer()->Flush(); + + ChangeColor(); + + m_dialog->SetSceneName("perso"); m_dialog->SetSceneRank(0); try { @@ -3936,7 +3940,7 @@ void CRobotMain::CreateScene(bool soluce, bool fixScene, bool resetObject) g_build |= BUILD_FLAG; } - if (!resetObject) + if (!resetObject && !fixScene) { ChangeColor(); // changes the colors of texture m_short->SetMode(false); // vehicles?