Author Topic: [FIXED] Crash during hiring new units in OXCE 8.0.7  (Read 250 times)

Offline Bizon

  • Squaddie
  • *
  • Posts: 3
    • View Profile
[FIXED] Crash during hiring new units in OXCE 8.0.7
« on: February 04, 2025, 09:48:36 pm »
I'm playing XPiratez v N10.2 and got (almost) guarantee crash after hiring/producing new units.
It seems that source of this bug is commit 27c61c2 (oxce-plus branch).

How to reproduce: load the attached save and try to hire max batch of Pirate Dogs in base NA - crashed everytime for me. Hiring one-by-one sometimes works.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9369
    • View Profile
Re: Crash during hiring new units in OXCE 8.0.7
« Reply #1 on: February 04, 2025, 11:24:22 pm »
Thank you for the report.

I will look at this soon.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9369
    • View Profile
Re: [FIXED] Crash during hiring new units in OXCE 8.0.7
« Reply #2 on: February 07, 2025, 09:08:47 pm »
Was a mod issue.

I have changed the code to ignore hiring by region when no region name pools are available.

https://github.com/MeridianOXC/OpenXcom/commit/9fcb27113544c7d02d09aca6054222914c12e086

Offline Bizon

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: [FIXED] Crash during hiring new units in OXCE 8.0.7
« Reply #3 on: February 08, 2025, 01:28:36 pm »
Thank You.