diff options
Diffstat (limited to 'Stars45/HardPoint.cpp')
-rw-r--r-- | Stars45/HardPoint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Stars45/HardPoint.cpp b/Stars45/HardPoint.cpp index b273911..6ef4da5 100644 --- a/Stars45/HardPoint.cpp +++ b/Stars45/HardPoint.cpp @@ -98,11 +98,11 @@ HardPoint::CreateWeapon(int type_index) if (type_index >= 0 && type_index < MAX_DESIGNS && designs[type_index]) { Vec3 zero_pt = Vec3(0.0f, 0.0f, 0.0f); Vec3* muzzle_pt = &zero_pt; - + if (designs[type_index]->turret.length() == 0) muzzle_pt = &muzzle; - Weapon* missile = new(__FILE__,__LINE__) Weapon(designs[type_index], + Weapon* missile = new(__FILE__,__LINE__) Weapon(designs[type_index], 1, muzzle_pt, aim_azimuth, |