Skip to content

Commit

Permalink
AURORA: Bump the engine function call debug level to 2
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Nov 15, 2016
1 parent 95aedbe commit 2b27e97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aurora/nwscript/functionman.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ void FunctionManager::call(const Common::UString &function, FunctionContext &ctx
debugC(Common::kDebugEngineScripts, 5, "%s%s", r.empty() ? "" : " => ", r.c_str());

if (DebugMan.getVerbosityLevel(Common::kDebugEngineScripts) < 5)
debugC(Common::kDebugEngineScripts, 1, "%s %s(%s)%s%s", formatType(ctx.getReturn().getType()).c_str(),
debugC(Common::kDebugEngineScripts, 2, "%s %s(%s)%s%s", formatType(ctx.getReturn().getType()).c_str(),
ctx.getName().c_str(), formatParams(ctx).c_str(), r.empty() ? "" : " => ", r.c_str());
}

Expand All @@ -112,7 +112,7 @@ void FunctionManager::call(uint32 function, FunctionContext &ctx) const {
debugC(Common::kDebugEngineScripts, 5, "%s%s", r.empty() ? "" : " => ", r.c_str());

if (DebugMan.getVerbosityLevel(Common::kDebugEngineScripts) < 5)
debugC(Common::kDebugEngineScripts, 1, "%s %s(%s)%s%s", formatType(ctx.getReturn().getType()).c_str(),
debugC(Common::kDebugEngineScripts, 2, "%s %s(%s)%s%s", formatType(ctx.getReturn().getType()).c_str(),
ctx.getName().c_str(), formatParams(ctx).c_str(), r.empty() ? "" : " => ", r.c_str());
}

Expand Down

0 comments on commit 2b27e97

Please sign in to comment.