- Added skill definitions to MAPINFO.

SVN r558 (trunk)
This commit is contained in:
Christoph Oelckers 2007-11-02 22:03:03 +00:00
commit 52e5f8b8e1
9 changed files with 387 additions and 161 deletions

View file

@ -2516,7 +2516,7 @@ FUNC(LS_Autosave)
FUNC(LS_ChangeSkill)
{
if (arg0 < sk_baby || arg0 > sk_nightmare)
if (arg0 < 0 || arg0 > AllSkills.Size())
{
NextSkill = -1;
}