mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Changed the script procs defines in ScriptExtender.h to their real procedure names in SSL.
This commit is contained in:
@@ -86,7 +86,7 @@ static void _stdcall RunSpecificHookScript(sHookScript *hook) {
|
||||
if (hook->callback != -1)
|
||||
RunScriptProcByNum(hook->prog.ptr, hook->callback);
|
||||
else
|
||||
RunScriptProc(&hook->prog, start_proc);
|
||||
RunScriptProc(&hook->prog, start);
|
||||
}
|
||||
static void _stdcall RunHookScript(DWORD hook) {
|
||||
if (hooks[hook].size()) {
|
||||
|
||||
@@ -1422,7 +1422,7 @@ void RunScriptProc(sScriptProgram* prog, DWORD procId) {
|
||||
}
|
||||
static void RunScript(sGlobalScript* script) {
|
||||
script->count=0;
|
||||
RunScriptProc(&script->prog, start_proc); // run "start"
|
||||
RunScriptProc(&script->prog, start); // run "start"
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -92,6 +92,7 @@ extern DWORD isGlobalScriptLoading;
|
||||
#define VAR_TYPE_STR2 (0x9001)
|
||||
|
||||
// script procs
|
||||
#define start_proc (1)
|
||||
#define start (1)
|
||||
#define map_enter_p_proc (15)
|
||||
#define map_update_proc (23)
|
||||
#define destroy_p_proc (18)
|
||||
#define map_update_p_proc (23)
|
||||
|
||||
Reference in New Issue
Block a user