mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-17 10:25:21 +02:00
cleanup
This commit is contained in:
@@ -614,8 +614,6 @@ bool GUIInventoryMenu::OnEvent(const SEvent& event)
|
|||||||
move_amount = MYMIN(m_selected_amount, 10);
|
move_amount = MYMIN(m_selected_amount, 10);
|
||||||
else // left
|
else // left
|
||||||
move_amount = m_selected_amount;
|
move_amount = m_selected_amount;
|
||||||
dstream << "move_amount=" << move_amount<<"\n";
|
|
||||||
dstream << "m_selected_amount=" << m_selected_amount<<"\n";
|
|
||||||
|
|
||||||
if(identical)
|
if(identical)
|
||||||
{
|
{
|
||||||
@@ -625,8 +623,6 @@ bool GUIInventoryMenu::OnEvent(const SEvent& event)
|
|||||||
m_selected_amount -= move_amount;
|
m_selected_amount -= move_amount;
|
||||||
move_amount = 0;
|
move_amount = 0;
|
||||||
}
|
}
|
||||||
dstream << "move_amount=" << move_amount<<"\n";
|
|
||||||
dstream << "m_selected_amount=" << m_selected_amount<<"\n";
|
|
||||||
}
|
}
|
||||||
else if(getAbsoluteClippingRect().isPointInside(m_pointer))
|
else if(getAbsoluteClippingRect().isPointInside(m_pointer))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user