mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
cleanup
This commit is contained in:
parent
02b334a679
commit
4799a8f761
@ -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))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user