mirror of
https://github.com/unknownworlds/NS.git
synced 2025-02-08 08:42:22 +00:00
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:
parent
bf4d8c6295
commit
25fafb261e
3 changed files with 10 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue