EasyRPG/Player — pull request #98 by Bonstra (2013-03-06 21:29:47+00:00)
Title: Small bugfix for the validation of switch IDs.

In the Game_Switches_Class::isValidSwitch(int) method, comparison
for the upper bound (< switches.size) was wrong since switch IDs ranges
from 1 to switches.size inclusive.
This caused easyrpg-player to exit with an error message if the game
made use of the last switch.
Replacing the < comparison operator with <= fixes that.