*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@915 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2007-04-04 07:30:51 +00:00
parent addcd2f8b0
commit d632d96333
7 changed files with 116 additions and 17 deletions
+7
View File
@@ -522,6 +522,11 @@ void shootv(int gun, vec &from, vec &to, playerent *d, bool local, int nademilli
case GUN_SHOTGUN:
{
loopi(SGRAYS) particle_splash(0, 5, 200, sg[i]);
if(addbullethole(from, to))
{
int holes = 3+rnd(5);
loopi(holes) addbullethole(from, sg[i], 0);
}
break;
}
@@ -529,6 +534,7 @@ void shootv(int gun, vec &from, vec &to, playerent *d, bool local, int nademilli
case GUN_SUBGUN:
case GUN_ASSAULT:
{
addbullethole(from, to);
addshotline(d, from, to);
particle_splash(0, 5, 250, to);
break;
@@ -546,6 +552,7 @@ void shootv(int gun, vec &from, vec &to, playerent *d, bool local, int nademilli
case GUN_SNIPER:
{
addbullethole(from, to);
addshotline(d, from, to);
particle_splash(0, 50, 200, to);
particle_trail(1, 500, from, to);