American mortar constantly "explodes" when deployed in friendly minefield

Issue #348 resolved
Colin Basnett created an issue

This is difficult to reproduce, but I'm almost positive it has something to do with with being deployed inside a friendly mine volume.

Comments (3)

  1. Matt Hands

    Factory normally calls SetTeamNum() on spawned vehicle & now spawn manager does the same. That functions sets the team on the vehicle weapons as well as the vehicle.

    Axis team is 0 by default, so if US mortar doesn't get its team set, maybe the mortar weapon (& possibly mortar too) defaults to team 0? If so, I guess we need to call SetTeam() each time the mortar is deployed, i.e. spawned.

  2. Log in to comment