mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 16:40:56 +00:00
- fixed setting of skill level via action special
https://forum.zdoom.org/viewtopic.php?t=69858
This commit is contained in:
parent
e281f992af
commit
776e3b10da
1 changed files with 2 additions and 1 deletions
|
@ -654,7 +654,8 @@ void FLevelLocals::ChangeLevel(const char *levelname, int position, int inflags,
|
|||
nextlevel = levelname;
|
||||
}
|
||||
|
||||
NextSkill = (unsigned)nextSkill < AllSkills.Size() ? nextSkill : -1;
|
||||
if (nextSkill != -1)
|
||||
NextSkill = (unsigned)nextSkill < AllSkills.Size() ? nextSkill : -1;
|
||||
|
||||
if (inflags & CHANGELEVEL_NOINTERMISSION)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue