summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s
diff options
context:
space:
mode:
authorZed <Zed@zed.zed>2016-03-06 22:02:28 +0100
committerZed <Zed@zed.zed>2016-03-06 22:02:28 +0100
commit2f4a6f30aa54430d86a7e4cc6d94a3aee4e5eb7d (patch)
tree82c1041b519d96f9dcd62334bebd4f752c9ed1a0 /TemplePushing.c4s
parentac7a60b169a7a57396e2eec4de395b4c07c0536b (diff)
downloadtempelschubsen-2f4a6f30aa54430d86a7e4cc6d94a3aee4e5eb7d.tar.gz
tempelschubsen-2f4a6f30aa54430d86a7e4cc6d94a3aee4e5eb7d.zip
Colourize Blackout particles by team
Diffstat (limited to 'TemplePushing.c4s')
-rw-r--r--TemplePushing.c4s/System.c4g/Blackout.c2
1 files changed, 1 insertions, 1 deletions
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;