From 2f4a6f30aa54430d86a7e4cc6d94a3aee4e5eb7d Mon Sep 17 00:00:00 2001 From: Zed Date: Sun, 6 Mar 2016 22:02:28 +0100 Subject: Colourize Blackout particles by team --- TemplePushing.c4s/System.c4g/Blackout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TemplePushing.c4s') diff --git a/TemplePushing.c4s/System.c4g/Blackout.c b/TemplePushing.c4s/System.c4g/Blackout.c index b3f3bdb..5f3a397 100644 --- a/TemplePushing.c4s/System.c4g/Blackout.c +++ b/TemplePushing.c4s/System.c4g/Blackout.c @@ -34,7 +34,7 @@ public func Activate(object pCaster, object pRealcaster) { iRng=Random(iRange/2); iX=Sin(iAng, iRng); iY=Cos(iAng, iRng); - CreateParticle("Feather", iX, iY, RandomX(-5,5), -3, 50+Random(25)); + CreateParticle("Feather", iX, iY, RandomX(-5,5), -3, 50+Random(25), GetPlrColorDw(GetOwner(pCaster))); } var pClonk,pVictim; if(!(pClonk=pRealcaster)) pClonk=pCaster; -- cgit v1.2.3-54-g00ecf