[Client] Cancel drag for teleported players, fix ID_OBJECT_SCALE debug

coverity_scan^2
David Cernat 8 years ago
parent 3d88e657cd
commit e4ae8c5f9f

@ -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…
Cancel
Save