Skip to content

Commit d6f9e7e

Browse files
jonwilxezon
authored andcommitted
Fix missing init in weapon code
1 parent 7fc24b3 commit d6f9e7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game/logic/object/weapon.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,7 @@ void Weapon::Position_Projectile_For_Launch(
15421542
Object *projectile_obj, const Object *source_obj, WeaponSlotType wslot, int ammo_index)
15431543
{
15441544
if (source_obj != nullptr) {
1545-
Matrix3D tm;
1545+
Matrix3D tm(true);
15461546
Coord3D pos;
15471547
Calc_Projectile_Launch_Position(source_obj, wslot, ammo_index, tm, pos);
15481548
projectile_obj->Get_Drawable()->Set_Drawable_Hidden(false);

0 commit comments

Comments
 (0)