Files
fs2open.github.com/code
wookieejedi 5e7af132fc Fix CTD from recent cycle expansion
The recent cycle expansion PR (#6364) causes a CTD when change-ship-type is used. This PR fixes that crash by using `pm->n_guns` instead of 'MAX_SHIP_PRIMARY_BANKS' and clarifies the definition comment for the  `pm->n_guns` to help avoid this kind of quandary in the furture.

Tested and works as expected.
2024-11-17 12:15:45 -05:00
..
2023-10-31 13:09:03 -04:00
2024-07-06 12:51:31 +02:00
2024-11-13 08:05:06 -05:00
2024-10-09 14:39:34 -04:00
2018-07-15 19:37:24 +02:00
2023-10-24 20:33:45 -04:00
2024-01-29 22:07:37 -05:00
2024-11-13 08:05:06 -05:00
2024-08-27 02:30:03 -04:00
2024-11-13 08:05:06 -05:00
2023-04-26 19:36:16 -04:00
2024-07-04 18:08:27 -04:00
2023-02-19 14:58:17 -06:00
2024-11-13 08:05:06 -05:00
2024-08-27 23:30:25 -04:00
2024-11-05 15:15:16 -05:00
2024-11-02 22:04:38 -04:00
2024-11-17 12:15:45 -05:00
2024-08-27 23:30:25 -04:00
2024-11-11 14:17:16 +09:00
2024-08-27 23:30:25 -04:00
2019-11-03 16:27:23 -05:00
2024-07-01 16:01:31 -04:00
2024-10-28 17:27:14 +09:00
2024-11-17 12:15:45 -05:00
2024-09-13 16:42:13 -04:00
2024-07-05 01:14:36 -04:00
2024-07-06 12:51:31 +02:00
2024-10-28 17:27:14 +09:00
2024-07-28 11:15:02 +02:00
2016-07-22 12:07:19 +02:00