From 109b822338fde86e41dc8309f5ed4067933e3cee Mon Sep 17 00:00:00 2001 From: brunzelchen Date: Wed, 15 Dec 2010 10:02:08 +0000 Subject: spawn perfect line twinkle for player 1 to 3 on second screen, if the amount of players is less then 4 and screens=2 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2760 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/base/UGraphicClasses.pas | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/base') diff --git a/src/base/UGraphicClasses.pas b/src/base/UGraphicClasses.pas index 55d91e39..3e2ed642 100644 --- a/src/base/UGraphicClasses.pas +++ b/src/base/UGraphicClasses.pas @@ -718,6 +718,10 @@ begin begin Life := RandomRange(8,16); Spawn(RandomRange(Left,Right), RandomRange(Top,Bottom), cScreen, Life, 16-Life, -1, PerfectLineTwinkle, P); + + //spawn also on second screen if the amount of players is <=3 + if (Screens = 2) and (PlayersPlay <= 3) then + Spawn(RandomRange(Left,Right), RandomRange(Top,Bottom), 2, Life, 16-Life, -1, PerfectLineTwinkle, P); end; end; end; -- cgit v1.2.3