Used by game->editor to free up all extra game mission elements not needed in editor.
| 2015 | } |
| 2016 | // Used by game->editor to free up all extra game mission elements not needed in editor. |
| 2017 | void QuickEndMission() { |
| 2018 | //@@ FreeScriptsForLevel(); |
| 2019 | //@@ D3XFreeProgram(Current_mission.d3xmod); |
| 2020 | //@@ Current_mission.d3xmod = NULL; |
| 2021 | // free up mini mission. |
| 2022 | //@@ Current_level = NULL; |
| 2023 | //@@ mem_free(Current_mission.levels); |
| 2024 | //@@ Current_mission.levels = NULL; |
| 2025 | ResetMission(); |
| 2026 | } |
| 2027 | #endif |
no test coverage detected