Use more Vector_New
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5224 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
a3ff407679
commit
b8dd902636
|
@ -371,9 +371,7 @@ BOOL proj_SendProjectile(WEAPON *psWeap, BASE_OBJECT *psAttacker, int player, Ve
|
|||
}
|
||||
else // incase anything wants a projectile
|
||||
{
|
||||
muzzle.x = psAttacker->pos.x;
|
||||
muzzle.y = psAttacker->pos.y;
|
||||
muzzle.z = psAttacker->pos.z;
|
||||
muzzle = Vector3f_New(psAttacker->pos.x, psAttacker->pos.y, psAttacker->pos.z);
|
||||
}
|
||||
|
||||
/* Initialise the structure */
|
||||
|
|
Loading…
Reference in New Issue