Mantis: 0001130

o Fixed a bug where the commanded has no pointer if the CC is entered while the popupmenu is active.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@498 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
puzl 2006-05-20 17:24:03 +00:00
parent bf4d8c6295
commit 25fafb261e
3 changed files with 10 additions and 1 deletions

View file

@ -2814,7 +2814,7 @@ int AvHHud::SetTopDown(const char* pszName, int iSize, void* pbuf)
{
// Switch to top down mode!
this->mInTopDownMode = true;
this->ToggleMouse();
this->ShowMouse();
}
if(is_top_down)

View file

@ -574,6 +574,13 @@ void UIHud::ToggleEditMode(void)
}
}
void UIHud::ShowMouse(void)
{
// For now this also changes us into edit mode
if ( this->mManager.InMouseMode() == false )
this->mManager.ToggleMouse();
}
void UIHud::ToggleMouse(void)
{
// For now this also changes us into edit mode

View file

@ -65,6 +65,8 @@ public:
virtual void ToggleMouse(void);
virtual void ShowMouse(void);
virtual int UpdateClientData(client_data_t *cdata, float time);
virtual void SetMusicAllowed(bool inState);