Author Topic: [FIXED] Loaded HWP ammo does not honor startingConditions  (Read 1362 times)

Offline Dioxine

  • Commander
  • *****
  • Posts: 5455
  • punk not dead
    • View Profile
    • Nocturnal Productions
[FIXED] Loaded HWP ammo does not honor startingConditions
« on: May 14, 2023, 01:47:50 pm »
If HWP is allowed on mission, but the kind of ammo it was loaded with is not, the ammo stays in the gun and on the mission. This might be a case for all fixed weapons - didn't test.
« Last Edit: May 14, 2023, 04:56:40 pm by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9047
    • View Profile
Re: Loaded HWP ammo does not honor startingConditions
« Reply #1 on: May 14, 2023, 03:27:31 pm »
Shouldn't the HWP be disabled as well then?

(if the ammo was "not available", you wouldn't be able to put the HWP on the craft)

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9047
    • View Profile
Re: Loaded HWP ammo does not honor startingConditions
« Reply #2 on: May 14, 2023, 04:28:42 pm »
I'll make the check more robust in the next version.

HWP will be sent back to base if either the HWP itself is disabled or if HWP's ammo is disabled.

Offline Dioxine

  • Commander
  • *****
  • Posts: 5455
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: [FIXED] Loaded HWP ammo does not honor startingConditions
« Reply #3 on: May 15, 2023, 06:28:44 pm »
The issues is when if some HWP ammo is disabled and some is not (therefore HWP itself is enabled because SOME ammo works). It still keeps the disabled ammo in case it was loaded.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9047
    • View Profile
Re: [FIXED] Loaded HWP ammo does not honor startingConditions
« Reply #4 on: May 15, 2023, 06:42:40 pm »
The issues is when if some HWP ammo is disabled and some is not (therefore HWP itself is enabled because SOME ammo works). It still keeps the disabled ammo in case it was loaded.

I don't understand.
OpenXcom supports only 1 ammo for HWP, you cannot use more than one.