- used pushv to make the intro init code look nicer.

This commit is contained in:
Christoph Oelckers 2021-04-25 22:57:12 +02:00
parent b515543016
commit 9d20185b39

View file

@ -45,10 +45,9 @@ class DukeIntro : ScreenJobRunner
if (!Raze.isShareware()) if (!Raze.isShareware())
{ {
Array<int> soundinfo; Array<int> soundinfo;
soundinfo.Push(1); soundinfo.Pushv(
soundinfo.Push(DukeSnd.FLY_BY+1); 1, DukeSnd.FLY_BY+1,
soundinfo.Push(19); 19, DukeSnd.PIPEBOMB_EXPLODE+1);
soundinfo.Push(DukeSnd.PIPEBOMB_EXPLODE+1);
jobs.Push(MoviePlayerJob.CreateWithSoundinfo("logo.anm", soundinfo, 9, 9, 9)); jobs.Push(MoviePlayerJob.CreateWithSoundinfo("logo.anm", soundinfo, 9, 9, 9));
} }
if (!Raze.isNam()) jobs.Push(new("DRealmsScreen").Init()); if (!Raze.isNam()) jobs.Push(new("DRealmsScreen").Init());