clear weapon_target in ship_init (fixes #141)

This commit is contained in:
jnmartin84
2025-04-13 08:35:22 -04:00
parent 05e9c2d3a1
commit fb0052c020
+1
View File
@@ -212,6 +212,7 @@ void ship_init(ship_t *self, section_t *section, int pilot, int inv_start_rank)
self->ebolt_timer = 0;
self->revcon_timer = 0;
self->special_timer = 0;
self->weapon_target = NULL;
self->mat = mat4_identity();
self->update_timer = 0;