- fixed: Level redirection checked the wrong level.

SVN r2241 (trunk)
This commit is contained in:
Christoph Oelckers 2010-03-25 17:07:07 +00:00
parent 039b64899d
commit 0f0c02f9d6

View file

@ -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();