mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-23 04:51:56 +00:00
- Debugger is guarded behind tools.
This commit is contained in:
parent
a8709206d8
commit
cd9284d876
2 changed files with 5 additions and 0 deletions
|
@ -3310,7 +3310,9 @@ bool idCommonLocal::GetAdditionalFunction(idCommon::FunctionType ft, idCommon::F
|
||||||
|
|
||||||
void idCommonLocal::DebuggerCheckBreakpoint(idInterpreter* interpreter, idProgram* program, int instructionPointer)
|
void idCommonLocal::DebuggerCheckBreakpoint(idInterpreter* interpreter, idProgram* program, int instructionPointer)
|
||||||
{
|
{
|
||||||
|
#ifdef ID_ALLOW_TOOLS
|
||||||
DebuggerServerCheckBreakpoint(interpreter, program, instructionPointer);
|
DebuggerServerCheckBreakpoint(interpreter, program, instructionPointer);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
idGameCallbacks gameCallbacks;
|
idGameCallbacks gameCallbacks;
|
||||||
|
|
|
@ -992,7 +992,10 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
// Launch the script debugger
|
// Launch the script debugger
|
||||||
if ( strstr( GetCommandLine(), "+debugger" ) ) {
|
if ( strstr( GetCommandLine(), "+debugger" ) ) {
|
||||||
|
|
||||||
|
#ifdef ID_ALLOW_TOOLS
|
||||||
DebuggerClientInit(GetCommandLine());
|
DebuggerClientInit(GetCommandLine());
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue