Asdow and GitHub
1cd94cda23
Fix inventory cloning bug ( #338 )
...
- If we have a sector already loaded (eg. Drassen airport)
- Squad in a different sector encounters enemies and goes to autoresolve
- After pressing DONE in autoresolve screen -> we miss calling the TrashWorld() function in CheckAndHandleUnloadingOfCurrentWorld() due to battle sector not being the same as loaded sector.
- Selected sector gets reset from Drassen airport to invalid values by same function
- Now we have the loaded sector's whole inventory existing in gWorldItems
- Enter any other sector in tactical mode and the gWorldItems gets added into its sector inventory in EnterSector()
Because the TrashItems() work in a way where it only sets gWorldItems elements to not existing if it finds them in a loaded map's structure data, we will pretty much always have that original bugged out set of items present in gWorlItems and they will constantly be added to sector inventories from then on once the bug has been triggered.
2024-11-16 16:05:14 +02:00
..
2023-01-03 15:51:48 +02:00
2024-08-22 08:48:29 +03:00
2022-10-25 09:13:51 -07:00
2024-10-02 21:24:02 +03:00
2022-10-11 00:17:12 -07:00
2024-08-22 08:48:29 +03:00
2018-04-15 14:42:01 +00:00
2023-10-08 16:45:06 +03:00
2006-04-19 11:32:51 +00:00
2023-10-02 19:30:59 +03:00
2023-07-04 20:58:56 -07:00
2023-01-03 15:51:48 +02:00
2018-05-14 19:08:17 +00:00
2023-10-02 19:30:59 +03:00
2014-05-11 05:58:07 +00:00
2023-01-03 15:51:48 +02:00
2013-08-25 13:38:21 +00:00
2023-07-04 20:58:56 -07:00
2023-07-04 20:58:56 -07:00
2023-07-04 20:58:56 -07:00
2008-03-08 15:15:25 +00:00
2023-01-03 15:51:48 +02:00
2014-05-01 13:28:33 +00:00
2024-08-22 08:48:29 +03:00
2023-01-03 15:51:48 +02:00
2021-04-03 03:32:40 +00:00
2023-01-03 15:51:48 +02:00
2013-06-19 11:19:57 +00:00
2024-03-16 13:00:04 +02:00
2020-07-24 19:27:34 +00:00
2023-01-03 15:51:48 +02:00
2016-01-09 19:45:30 +00:00
2023-02-21 23:22:30 -08:00
2021-11-21 12:56:27 +00:00
2023-08-20 20:52:34 +03:00
2012-01-18 11:19:01 +00:00
2024-08-22 08:48:29 +03:00
2017-08-06 21:06:49 +00:00
2023-08-04 13:45:54 +03:00
2021-11-21 12:56:27 +00:00
2023-01-03 15:51:48 +02:00
2006-04-19 11:32:51 +00:00
2023-08-28 16:26:34 +03:00
2021-02-26 12:14:11 +00:00
2023-01-03 15:51:48 +02:00
2012-01-18 11:19:01 +00:00
2024-08-22 08:48:29 +03:00
2022-03-21 17:34:49 +00:00
2023-01-03 15:51:48 +02:00
2006-04-19 11:32:51 +00:00
2024-01-03 00:39:44 +02:00
2014-01-01 12:02:23 +00:00
2022-01-25 11:25:03 +00:00
2020-05-30 00:13:42 +00:00
2023-01-03 15:51:48 +02:00
2021-10-04 06:59:37 +00:00
2023-01-03 15:51:48 +02:00
2021-07-09 19:38:55 +00:00
2023-01-22 23:35:08 +02:00
2016-01-09 19:45:30 +00:00
2023-08-20 20:52:34 +03:00
2023-08-20 20:52:34 +03:00
2023-07-04 20:58:56 -07:00
2022-04-14 06:50:44 +00:00
2023-01-03 15:51:48 +02:00
2010-02-28 18:38:52 +00:00
2023-01-22 23:35:08 +02:00
2023-01-22 23:35:08 +02:00
2006-04-19 11:32:51 +00:00
2024-08-22 08:48:29 +03:00
2023-07-04 20:58:56 -07:00
2023-07-04 20:58:56 -07:00
2023-07-04 20:58:56 -07:00
2023-01-03 15:51:48 +02:00
2010-02-28 18:38:52 +00:00
2023-10-08 16:45:06 +03:00
2023-07-04 20:58:56 -07:00
2024-08-22 08:48:29 +03:00
2018-04-15 14:42:01 +00:00
2023-01-03 15:51:48 +02:00
2012-01-18 11:19:01 +00:00
2011-01-18 09:11:09 +00:00
2011-01-18 09:11:09 +00:00
2023-01-03 15:51:48 +02:00
2011-01-18 09:11:09 +00:00
2023-01-03 15:51:48 +02:00
2024-08-22 08:48:29 +03:00
2023-07-04 20:58:56 -07:00
2023-01-03 15:51:48 +02:00
2022-03-26 21:00:13 +00:00
2023-01-03 15:51:48 +02:00
2022-03-26 06:24:10 +00:00
2023-01-03 15:51:48 +02:00
2022-04-08 21:00:58 +00:00
2023-01-03 15:51:48 +02:00
2006-04-19 11:32:51 +00:00
2024-08-22 08:48:29 +03:00
2023-07-04 20:58:56 -07:00
2023-01-03 15:51:48 +02:00
2006-04-19 11:32:51 +00:00
2023-01-03 15:51:48 +02:00
2018-03-10 15:31:11 +00:00
2024-11-16 16:05:14 +02:00
2023-01-22 23:35:08 +02:00
2023-01-03 15:51:48 +02:00
2018-04-15 14:42:01 +00:00
2021-04-03 03:32:40 +00:00
2011-01-18 09:11:09 +00:00
2023-01-03 15:51:48 +02:00
2023-01-03 15:51:48 +02:00
2023-01-03 15:51:48 +02:00
2023-01-03 15:51:48 +02:00
2014-08-31 20:42:20 +00:00
2023-01-03 15:51:48 +02:00
2023-10-02 19:30:59 +03:00
2023-01-03 15:51:48 +02:00
2023-01-03 15:51:48 +02:00
2023-01-03 15:51:48 +02:00
2023-01-03 15:51:48 +02:00