This commit is contained in:
Rachael Alexanderson 2017-02-01 21:57:37 -05:00
commit 226e5238fc
28 changed files with 74 additions and 42 deletions

View file

@ -1099,7 +1099,7 @@ void G_WorldDone (void)
if (strncmp (nextlevel, "enDSeQ", 6) == 0)
{
FName endsequence = ENamedName(strtol(nextlevel.GetChars()+6, NULL, 16));
FName endsequence = ENamedName(strtoll(nextlevel.GetChars()+6, NULL, 16));
// Strife needs a special case here to choose between good and sad ending. Bad is handled elsewhere.
if (endsequence == NAME_Inter_Strife)
{