mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Surrounding ~g_KBMInput~ with #ifdef _WINDOWS64 / #endif
This commit is contained in:
parent
e818da701a
commit
5a4608df10
|
|
@ -1858,7 +1858,9 @@ Player::BedSleepingResult Player::startSleepInBed(int x, int y, int z, bool bTes
|
|||
setPos(x + .5f, y + 15.0f / 16.0f, z + .5f);
|
||||
}
|
||||
m_isSleeping = true;
|
||||
#ifdef _WINDOWS64
|
||||
g_KBMInput.SetActiveMouse(false);
|
||||
#endif
|
||||
|
||||
sleepCounter = 0;
|
||||
bedPosition = new Pos(x, y, z);
|
||||
|
|
@ -1930,7 +1932,9 @@ void Player::stopSleepInBed(bool forcefulWakeUp, bool updateLevelList, bool save
|
|||
}
|
||||
|
||||
m_isSleeping = false;
|
||||
#ifdef _WINDOWS64
|
||||
g_KBMInput.SetActiveMouse(true);
|
||||
#endif
|
||||
|
||||
if (!level->isClientSide && updateLevelList)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue