mirror of
https://github.com/minetest/minetest.git
synced 2024-08-20 05:24:15 +02:00
Fix experiments.
This commit is contained in:
parent
ba651c3a12
commit
08a45bde13
@ -3800,7 +3800,7 @@ void GUIFormSpecMenu::showTooltip(const std::wstring &text,
|
|||||||
void GUIFormSpecMenu::updateSelectedItem()
|
void GUIFormSpecMenu::updateSelectedItem()
|
||||||
{
|
{
|
||||||
// Don't update when dragging an item
|
// Don't update when dragging an item
|
||||||
if (m_selected_item && (m_selected_dragging || m_left_dragging))
|
if (m_selected_item && (m_left_dragging && (m_left_drag_stacks.size() > 1)))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
verifySelectedItem();
|
verifySelectedItem();
|
||||||
|
@ -460,8 +460,7 @@ void IMoveAction::apply(InventoryManager *mgr, ServerActiveObject *player, IGame
|
|||||||
if (from_inv.type == InventoryLocation::PLAYER)
|
if (from_inv.type == InventoryLocation::PLAYER)
|
||||||
list_from->setModified();
|
list_from->setModified();
|
||||||
|
|
||||||
if (to_inv.type == InventoryLocation::PLAYER)
|
list_to->setModified();
|
||||||
list_to->setModified();
|
|
||||||
|
|
||||||
infostream<<"IMoveAction::apply(): move was completely disallowed:"
|
infostream<<"IMoveAction::apply(): move was completely disallowed:"
|
||||||
<<" move_count="<<old_move_count
|
<<" move_count="<<old_move_count
|
||||||
|
Loading…
Reference in New Issue
Block a user