mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-02 17:02:49 +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,6 +654,7 @@ void FLevelLocals::ChangeLevel(const char *levelname, int position, int inflags,
|
||||||
nextlevel = levelname;
|
nextlevel = levelname;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (nextSkill != -1)
|
||||||
NextSkill = (unsigned)nextSkill < AllSkills.Size() ? nextSkill : -1;
|
NextSkill = (unsigned)nextSkill < AllSkills.Size() ? nextSkill : -1;
|
||||||
|
|
||||||
if (inflags & CHANGELEVEL_NOINTERMISSION)
|
if (inflags & CHANGELEVEL_NOINTERMISSION)
|
||||||
|
|
Loading…
Reference in a new issue