mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 04:51:41 +00:00
- fixed: Level redirection checked the wrong level.
SVN r2241 (trunk)
This commit is contained in:
parent
039b64899d
commit
0f0c02f9d6
1 changed files with 1 additions and 1 deletions
|
@ -572,7 +572,7 @@ void G_ChangeLevel(const char *levelname, int position, bool keepFacing, int nex
|
||||||
|
|
||||||
if (strncmp(levelname, "enDSeQ", 6) != 0)
|
if (strncmp(levelname, "enDSeQ", 6) != 0)
|
||||||
{
|
{
|
||||||
nextinfo = FindLevelInfo (nextlevel);
|
nextinfo = FindLevelInfo (levelname);
|
||||||
if (nextinfo != NULL)
|
if (nextinfo != NULL)
|
||||||
{
|
{
|
||||||
level_info_t *nextredir = nextinfo->CheckLevelRedirect();
|
level_info_t *nextredir = nextinfo->CheckLevelRedirect();
|
||||||
|
|
Loading…
Reference in a new issue