fixed dynlights to actually work

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2664 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-09-17 07:13:35 +00:00
parent 3ca592b009
commit 56191aa2be
7 changed files with 95 additions and 52 deletions
+2 -1
View File
@@ -619,7 +619,8 @@ void grenadeent::splash()
particle_splash(0, 50, 300, o);
particle_fireball(5, o);
addscorchmark(o);
dodynlight(o, o, 0, 0, owner);
adddynlight(o, 16, 200, 100, 255);
adddynlight(o, 16, 400, 400, 192, 160, 128);
if(owner != player1) return;
int damage = guns[GUN_GRENADE].damage;
radialeffect(owner, o, damage, owner, GUN_GRENADE);