Allows Lua to transport you to a different map in place of a Special Stage.

This commit is contained in:
GoldenTails 2021-01-04 00:03:18 -06:00
parent 8c97583779
commit 3b4a52b8b8

View file

@ -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)
{