mirror of
https://github.com/ENSL/NS.git
synced 2025-02-17 01:21:45 +00:00
showcursor win32 only
This commit is contained in:
parent
22f6ab0c16
commit
4b8318cad1
1 changed files with 4 additions and 0 deletions
|
@ -138,7 +138,9 @@ void AvHPieMenuHandler::InternalClosePieMenu(void)
|
||||||
{
|
{
|
||||||
gHUD.GetManager().SetMouseVisibility(false);
|
gHUD.GetManager().SetMouseVisibility(false);
|
||||||
//attempt at fixing OS cursor appearing over game's cursor
|
//attempt at fixing OS cursor appearing over game's cursor
|
||||||
|
#ifdef WIN32
|
||||||
ShowCursor(TRUE);
|
ShowCursor(TRUE);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
theMarineMenu->SetFadeState(false);
|
theMarineMenu->SetFadeState(false);
|
||||||
|
@ -184,7 +186,9 @@ void AvHPieMenuHandler::OpenPieMenu(void)
|
||||||
{
|
{
|
||||||
gHUD.GetManager().SetMouseVisibility(true);
|
gHUD.GetManager().SetMouseVisibility(true);
|
||||||
//attempt at fixing OS cursor appearing over game's cursor
|
//attempt at fixing OS cursor appearing over game's cursor
|
||||||
|
#ifdef WIN32
|
||||||
ShowCursor(FALSE);
|
ShowCursor(FALSE);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
gHUD.HideCrosshair();
|
gHUD.HideCrosshair();
|
||||||
|
|
Loading…
Reference in a new issue