mirror of
https://github.com/ReMinecraftPE/mcpe.git
synced 2025-01-23 17:52:10 -05:00
* Fix some more bugs.
This commit is contained in:
parent
328ef4fff5
commit
7fd8c67f13
2 changed files with 5 additions and 6 deletions
|
@ -238,10 +238,6 @@ void AppPlatform_windows::recenterMouse()
|
|||
|
||||
void AppPlatform_windows::setMouseGrabbed(bool b)
|
||||
{
|
||||
// only if stuff has changed do we update
|
||||
if (m_bGrabbedMouse == b)
|
||||
return;
|
||||
|
||||
m_bGrabbedMouse = b;
|
||||
|
||||
if (m_bActuallyGrabbedMouse == (b && m_bIsFocused))
|
||||
|
|
|
@ -41,7 +41,7 @@ void PauseScreen::init()
|
|||
#ifdef ENH_ADD_OPTIONS_PAUSE
|
||||
// TODO: when visible or quit© are on, lower this
|
||||
m_btnOptions.m_width = 160;
|
||||
m_btnOptions.m_yPos = 144;
|
||||
m_btnOptions.m_yPos = 112;
|
||||
m_btnOptions.m_xPos = m_btnBack.m_xPos;
|
||||
#endif
|
||||
|
||||
|
@ -55,10 +55,13 @@ void PauseScreen::init()
|
|||
|
||||
//m_buttons.push_back(&m_btnQuitAndCopy);
|
||||
|
||||
if (m_pMinecraft->m_pRakNetInstance)
|
||||
if (m_pMinecraft->m_pRakNetInstance && m_pMinecraft->m_pRakNetInstance->m_bIsHost)
|
||||
{
|
||||
updateServerVisibilityText();
|
||||
m_buttons.push_back(&m_btnVisible);
|
||||
#ifdef ENH_ADD_OPTIONS_PAUSE
|
||||
m_btnOptions.m_yPos += 32;
|
||||
#endif
|
||||
}
|
||||
|
||||
for (auto thing : m_buttons)
|
||||
|
|
Loading…
Add table
Reference in a new issue