1
0
mirror of https://github.com/td512/re3.git synced 2026-03-09 13:40:27 +00:00

Fix debug script loader crashing missions

* open_script is now exposed in Script.h, perhaps it should be namespaced
as a static method on CTheScripts? I'm unsure what is preferred.
* I've moved the joypad code out of open_script to prevent buttons held
  down at mission load time from changing the scriptToLoad.
This commit is contained in:
Magnus Larsen
2021-07-10 08:56:28 -07:00
parent 71f28c8cf5
commit 33c45e4ae0
3 changed files with 16 additions and 13 deletions

View File

@@ -591,5 +591,6 @@ void RetryMission(int, int);
#endif
#ifdef USE_DEBUG_SCRIPT_LOADER
int open_script();
extern int scriptToLoad;
#endif