mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-18 01:51:39 +00:00
Allows Lua to transport you to a different map in place of a Special Stage.
This commit is contained in:
parent
8c97583779
commit
3b4a52b8b8
1 changed files with 7 additions and 6 deletions
13
src/g_game.c
13
src/g_game.c
|
@ -3920,12 +3920,13 @@ static void G_DoCompleted(void)
|
|||
{
|
||||
token--;
|
||||
|
||||
for (i = 0; i < 7; i++)
|
||||
if (!(emeralds & (1<<i)))
|
||||
{
|
||||
nextmap = ((netgame || multiplayer) ? smpstage_start : sstage_start) + i - 1; // to special stage!
|
||||
break;
|
||||
}
|
||||
if (!nextmapoverride)
|
||||
for (i = 0; i < 7; i++)
|
||||
if (!(emeralds & (1<<i)))
|
||||
{
|
||||
nextmap = ((netgame || multiplayer) ? smpstage_start : sstage_start) + i - 1; // to special stage!
|
||||
break;
|
||||
}
|
||||
|
||||
if (i == 7)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue