no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@496 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-06 16:08:58 +00:00
parent de76c4ec89
commit b825b78015
10 changed files with 23 additions and 20 deletions
+1 -2
View File
@@ -106,7 +106,7 @@ void setscope(bool activate)
void altaction(int activate)
{
//if(player1->gunselect == GUN_SNIPER && player1->state!=CS_DEAD) togglescope();
if(player1->gunselect == GUN_SNIPER && player1->state!=CS_DEAD) setscope(activate);
if(player1->gunselect == GUN_SNIPER && player1->state!=CS_DEAD) setscope(activate!=0);
}
COMMAND(altaction, ARG_1INT);
@@ -504,7 +504,6 @@ void explode_nade(physent *i)
void shootv(int gun, vec &from, vec &to, dynent *d, bool local, int nademillis) // create visual effect from a shot
{
playsound(guns[gun].sound, d==player1 ? NULL : &d->o);
int pspeed = 25;
switch(gun)
{
case GUN_KNIFE: