Reordering a bit.

This commit is contained in:
TheGreenTie
2020-03-01 18:30:44 -06:00
parent eccd3eccec
commit d9f123b438
9263 changed files with 1393 additions and 62623 deletions

View File

@@ -0,0 +1,18 @@
if (mouse_wheel_up() || keyboard_check_pressed(vk_up))
{
global.current_box--;
if (global.current_box < 1)
global.current_box = 1;
else
scroll_do();
}
else if (mouse_wheel_down() || keyboard_check_pressed(vk_down))
{
global.current_box++;
if (global.current_box > global.box_count-1)
global.current_box = global.box_count-1;
else
scroll_do();
}