Always clear tooltip and highlighted object on phase change
parent
50aaf04405
commit
6e8266fd58
|
@ -457,7 +457,6 @@ void CRobotMain::ChangePhase(Phase phase)
|
||||||
m_lightning->Flush();
|
m_lightning->Flush();
|
||||||
m_planet->Flush();
|
m_planet->Flush();
|
||||||
m_interface->Flush();
|
m_interface->Flush();
|
||||||
ClearInterface();
|
|
||||||
FlushNewScriptName();
|
FlushNewScriptName();
|
||||||
m_sound->SetListener(Math::Vector(0.0f, 0.0f, 0.0f), Math::Vector(0.0f, 0.0f, 1.0f));
|
m_sound->SetListener(Math::Vector(0.0f, 0.0f, 0.0f), Math::Vector(0.0f, 0.0f, 1.0f));
|
||||||
m_camera->SetType(Gfx::CAM_TYPE_DIALOG);
|
m_camera->SetType(Gfx::CAM_TYPE_DIALOG);
|
||||||
|
@ -467,6 +466,7 @@ void CRobotMain::ChangePhase(Phase phase)
|
||||||
m_cameraZoom = 0.0f;
|
m_cameraZoom = 0.0f;
|
||||||
m_shortCut = true;
|
m_shortCut = true;
|
||||||
}
|
}
|
||||||
|
ClearInterface();
|
||||||
|
|
||||||
Math::Point dim, pos;
|
Math::Point dim, pos;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue