mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 21:31:03 +00:00
- Duke: Fix skill level coming in from main loop.
This commit is contained in:
parent
64607834f3
commit
6e9576b871
1 changed files with 1 additions and 2 deletions
|
@ -765,7 +765,7 @@ void donewgame(MapRecord* map, int sk)
|
||||||
show_shareware = 26 * 34;
|
show_shareware = 26 * 34;
|
||||||
|
|
||||||
//ud.nextLevel = map;
|
//ud.nextLevel = map;
|
||||||
ud.player_skill = sk;
|
ud.player_skill = sk != -1 ? sk + 1 : sk;
|
||||||
ud.secretlevel = 0;
|
ud.secretlevel = 0;
|
||||||
ud.from_bonus = 0;
|
ud.from_bonus = 0;
|
||||||
|
|
||||||
|
@ -990,7 +990,6 @@ void enterlevel(MapRecord *mi, int gamemode)
|
||||||
|
|
||||||
void startnewgame(MapRecord* map, int skill)
|
void startnewgame(MapRecord* map, int skill)
|
||||||
{
|
{
|
||||||
ud.player_skill = skill;
|
|
||||||
ud.m_respawn_monsters = (skill == 4);
|
ud.m_respawn_monsters = (skill == 4);
|
||||||
ud.m_monsters_off = ud.monsters_off = 0;
|
ud.m_monsters_off = ud.monsters_off = 0;
|
||||||
ud.m_respawn_items = 0;
|
ud.m_respawn_items = 0;
|
||||||
|
|
Loading…
Reference in a new issue