mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-27 22:42:57 +00:00
minor fixes in custom skill code
SVN r561 (trunk)
This commit is contained in:
parent
6d3e239678
commit
c873ae1709
2 changed files with 2 additions and 1 deletions
|
@ -2516,7 +2516,7 @@ FUNC(LS_Autosave)
|
|||
|
||||
FUNC(LS_ChangeSkill)
|
||||
{
|
||||
if (arg0 < 0 || arg0 > AllSkills.Size())
|
||||
if ((unsigned)arg0 >= AllSkills.Size())
|
||||
{
|
||||
NextSkill = -1;
|
||||
}
|
||||
|
|
|
@ -7,6 +7,7 @@ skill baby
|
|||
Key i
|
||||
|
||||
skill easy
|
||||
EasyBossBrain
|
||||
SpawnFilter "Easy"
|
||||
PicName "M_ROUGH"
|
||||
Key h
|
||||
|
|
Loading…
Reference in a new issue