allow mnemonics for execution context levels
scriptcontext and isolatecontext now allow plain text mnemonics for context level arguments (one of CORE, CFG, PROMPT, MAPCFG, MDLCFG) also: - cleanup (some dead code and dead prototypes removed) - some stuff renamed - script errors now show context levels - conc is no longer thread-safe (but slightly faster) DOCREF scriptcontext isolatecontext
This commit is contained in:
@@ -648,7 +648,9 @@ void audiomanager::updateaudio()
|
||||
{
|
||||
char *cmd = musicdonecmd;
|
||||
musicdonecmd = NULL;
|
||||
setcontext("hook", "musicdonecmd");
|
||||
execute(cmd);
|
||||
resetcontext();
|
||||
delete[] cmd;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user