Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Commit

Permalink
- Corrected issue of next map line for Doom2 MAPINFO causing MAP32 to…
Browse files Browse the repository at this point in the history
… go directly to the roll call end.
  • Loading branch information
GTD-Carthage committed Apr 11, 2019
1 parent 32e81a1 commit 39c404c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/modules/zdoom_specials.lua
Expand Up @@ -363,14 +363,13 @@ function ZDOOM_SPECIALS.do_special_stuff()
-- for DOOM2
if OB_CONFIG.game == "doom2" then
if map_num == 15 then
next_level_line = ' next = MAP16'
next_level_line = ' next = MAP16\n'
secret_level_line = ' secretnext = MAP31\n'
elseif map_num == 31 then
map_id_next = 16
next_level_line = ' next = MAP16'
next_level_line = ' next = MAP16\n'
secret_level_line = ' secretnext = MAP32\n'
elseif map_num == 32 then
map_id_next = 16
next_level_line = ' next = MAP16\n'
secret_level_line = ''
else
secret_level_line = ''
Expand Down

0 comments on commit 39c404c

Please sign in to comment.