Quote from: Shaden on Wed 07/11/2007 19:49:47
if ((data == 0) && (Mouse.IsButtonDown(eMouseLeft)))
That's the problem. You're telling the game to only use the inventory cursor while the button is down. You may want to consult the documentation and move your inventory handling code to the function on_mouse_click.