SupSuper/OpenXcom — pull request #182 by karvanit (2012-11-11 10:04:26+00:00)
Title: Fix for horizontal scroll-wheels.

Mouse buttons can be more than 5 (at least when a mouse has two scroll wheels).
This changes the NUM_BUTTONS to 7, to stop the game from crashing on such cases.