- fixed: The intermission actions for custom end sequences were never appened to the intermission descriptor.

SVN r2922 (trunk)
This commit is contained in:
Christoph Oelckers 2010-10-07 22:57:09 +00:00
parent 0595724d68
commit a84a015f0c

View file

@ -618,6 +618,7 @@ FName FMapInfoParser::ParseEndGame()
else if (sc.Compare("cast")) else if (sc.Compare("cast"))
{ {
newSeq.EndType = END_Cast; newSeq.EndType = END_Cast;
if (newSeq.PicName.IsEmpty()) newSeq.PicName = "$bgcastcall";
} }
else if (sc.Compare("music")) else if (sc.Compare("music"))
{ {
@ -687,6 +688,7 @@ FName FMapInfoParser::ParseEndGame()
action->mBackground = newSeq.PicName; action->mBackground = newSeq.PicName;
action->mMusic = newSeq.Music; action->mMusic = newSeq.Music;
action->mMusicLooping = newSeq.MusicLooping; action->mMusicLooping = newSeq.MusicLooping;
desc->mActions.Push(action);
FString seq; FString seq;
seq.Format("@EndSequence_%d_", generated++); seq.Format("@EndSequence_%d_", generated++);