mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- fixed: The intermission actions for custom end sequences were never appened to the intermission descriptor.
SVN r2922 (trunk)
This commit is contained in:
parent
0595724d68
commit
a84a015f0c
1 changed files with 2 additions and 0 deletions
|
@ -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++);
|
||||||
|
|
Loading…
Reference in a new issue