*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@259 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-04-26 15:57:22 +00:00
parent fdca872a7a
commit 33e5d9b5b3
2 changed files with 4 additions and 9 deletions
+4 -6
View File
@@ -389,7 +389,7 @@ void explode_nade(physent *i)
throw_nade(i->owner, o, i);
};
playsound(S_FEXPLODE, &i->o);
newprojectile(i->o, i->o, 1, true, i->owner, GUN_GRENADE);
newprojectile(i->o, i->o, 1, i->owner==player1, i->owner, GUN_GRENADE);
};
void shootv(int gun, vec &from, vec &to, dynent *d, bool local, int nademillis) // create visual effect from a shot
@@ -415,16 +415,14 @@ void shootv(int gun, vec &from, vec &to, dynent *d, bool local, int nademillis)
//particle_trail(1, 10, from, to);
break;
case GUN_GRENADE:
//pspeed = guns[gun].projspeed;
//newprojectile(from, to, (float)pspeed, local, d, gun);
case GUN_GRENADE:
{
if(d!=player1)
{
physent *p = new_nade(d, nademillis);
throw_nade(d, to, p);
}
}
break;
case GUN_SNIPER: