Always clear tooltip and highlighted object on phase change

master
krzys-h 2015-08-06 16:14:11 +02:00
parent 50aaf04405
commit 6e8266fd58
1 changed files with 1 additions and 1 deletions
src/object

View File

@ -457,7 +457,6 @@ void CRobotMain::ChangePhase(Phase phase)
m_lightning->Flush();
m_planet->Flush();
m_interface->Flush();
ClearInterface();
FlushNewScriptName();
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);
@ -467,6 +466,7 @@ void CRobotMain::ChangePhase(Phase phase)
m_cameraZoom = 0.0f;
m_shortCut = true;
}
ClearInterface();
Math::Point dim, pos;