- weapons[Person::players[i]->weaponids[0]].owner = -1;
- weapons[Person::players[i]->weaponids[0]].velocity = Person::players[i]->velocity * .2;
- if (weapons[Person::players[i]->weaponids[0]].velocity.x == 0)
- weapons[Person::players[i]->weaponids[0]].velocity.x = .1;
- weapons[Person::players[i]->weaponids[0]].tipvelocity = weapons[Person::players[i]->weaponids[0]].velocity;
- weapons[Person::players[i]->weaponids[0]].missed = 1;
- weapons[Person::players[i]->weaponids[0]].freetime = 0;
- weapons[Person::players[i]->weaponids[0]].firstfree = 1;
- weapons[Person::players[i]->weaponids[0]].physics = 1;
+ XYZ tempVelocity = Person::players[i]->velocity * .2;
+ if (tempVelocity.x == 0)
+ tempVelocity.x = .1;
+ weapons[Person::players[i]->weaponids[0]].drop(tempVelocity, tempVelocity, false);