AGS: Grouped ccError variables in a struct
From upstream 48ef387226e4d420dc62d0a0b204cf4cd89a1139
This commit is contained in:
parent
a2a5f2575d
commit
16d0d89787
16 changed files with 82 additions and 80 deletions
|
@ -322,7 +322,7 @@ String get_cur_script(int numberOfLinesOfCallStack) {
|
|||
if (sci)
|
||||
callstack = sci->GetCallStack(numberOfLinesOfCallStack);
|
||||
if (callstack.IsEmpty())
|
||||
callstack = _G(ccErrorCallStack);
|
||||
callstack = cc_get_error().CallStack;
|
||||
return callstack;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue