mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +00:00
[Client] Cancel drag for teleported players, fix ID_OBJECT_SCALE debug
This commit is contained in:
parent
3d88e657cd
commit
e4ae8c5f9f
2 changed files with 2 additions and 1 deletions
|
@ -802,6 +802,7 @@ void LocalPlayer::setCell()
|
|||
if (MWBase::Environment::get().getWindowManager()->containsMode(MWGui::GM_Container))
|
||||
{
|
||||
MWBase::Environment::get().getWindowManager()->removeGuiMode(MWGui::GM_Container);
|
||||
MWBase::Environment::get().getWindowManager()->setDragDrop(false);
|
||||
}
|
||||
|
||||
world->getPlayer().setTeleported(true);
|
||||
|
|
|
@ -812,7 +812,7 @@ void Networking::processWorldPacket(RakNet::Packet *packet)
|
|||
|
||||
if (!ptrCellStore) return;
|
||||
|
||||
LOG_MESSAGE_SIMPLE(Log::LOG_WARN, "%s", "Received ID_OBJECT_SCALE about %s",
|
||||
LOG_MESSAGE_SIMPLE(Log::LOG_WARN, "Received ID_OBJECT_SCALE about %s",
|
||||
event->cell.getDescription().c_str());
|
||||
event->scaleObjects(ptrCellStore);
|
||||
|
||||
|
|
Loading…
Reference in a new issue