aboutsummaryrefslogtreecommitdiff
path: root/saga/script.h
diff options
context:
space:
mode:
Diffstat (limited to 'saga/script.h')
-rw-r--r--saga/script.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/saga/script.h b/saga/script.h
index 65dd100ecf..50dc69f739 100644
--- a/saga/script.h
+++ b/saga/script.h
@@ -278,7 +278,11 @@ private:
private:
typedef int (Script::*ScriptFunctionType)(SCRIPTFUNC_PARAMS);
- const ScriptFunctionType *_scriptFunctionsList;
+ struct ScriptFunctionDescription {
+ ScriptFunctionType scriptFunction;
+ const char *scriptFunctionName;
+ };
+ const ScriptFunctionDescription *_scriptFunctionsList;
void setupScriptFuncList(void);
int SDebugPrintInstr(SCRIPT_THREAD *thread);