From b4b74dd8099fd4b51f41f4541070c6f6dc43bd63 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Thu, 18 Sep 2008 08:09:53 +0000 Subject: [PATCH] softened gun lights git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2688 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/weapon.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/src/weapon.cpp b/source/src/weapon.cpp index 521aef1a..b5f6ae6f 100644 --- a/source/src/weapon.cpp +++ b/source/src/weapon.cpp @@ -874,7 +874,7 @@ void gun::attackfx(const vec &from, const vec &to, int millis) addbullethole(owner, from, to); addshotline(owner, from, to); particle_splash(0, 5, 250, to); - adddynlight(from, 4, 100, 0, 128, 104, 96); + adddynlight(from, 4, 100, 50, 96, 80, 64); attacksound(); } @@ -902,7 +902,7 @@ void shotgun::attackfx(const vec &from, const vec &to, int millis) int holes = 3+rnd(5); loopi(holes) addbullethole(owner, from, sg[i], 0, false); } - adddynlight(from, 4, 100, 0, 128, 104, 96); + adddynlight(from, 4, 100, 50, 96, 80, 64); attacksound(); } @@ -925,7 +925,7 @@ void sniperrifle::attackfx(const vec &from, const vec &to, int millis) addshotline(owner, from, to); particle_splash(0, 50, 200, to); particle_trail(1, 500, from, to); - adddynlight(from, 4, 100, 0, 128, 104, 96); + adddynlight(from, 4, 100, 50, 96, 80, 64); attacksound(); }