From 9d20185b39e05c4496a9eff18c748ddaf340cbad Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 25 Apr 2021 22:57:12 +0200 Subject: [PATCH] - used pushv to make the intro init code look nicer. --- wadsrc/static/zscript/games/duke/ui/cutscenes.zs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/wadsrc/static/zscript/games/duke/ui/cutscenes.zs b/wadsrc/static/zscript/games/duke/ui/cutscenes.zs index f90bdb75a..9fda43b1b 100644 --- a/wadsrc/static/zscript/games/duke/ui/cutscenes.zs +++ b/wadsrc/static/zscript/games/duke/ui/cutscenes.zs @@ -45,10 +45,9 @@ class DukeIntro : ScreenJobRunner if (!Raze.isShareware()) { Array soundinfo; - soundinfo.Push(1); - soundinfo.Push(DukeSnd.FLY_BY+1); - soundinfo.Push(19); - soundinfo.Push(DukeSnd.PIPEBOMB_EXPLODE+1); + soundinfo.Pushv( + 1, DukeSnd.FLY_BY+1, + 19, DukeSnd.PIPEBOMB_EXPLODE+1); jobs.Push(MoviePlayerJob.CreateWithSoundinfo("logo.anm", soundinfo, 9, 9, 9)); } if (!Raze.isNam()) jobs.Push(new("DRealmsScreen").Init());