AGS: Removed String's "const char*" conversion operator

From upstream 7c426674e7e53bffe9120f8ffc059b77fa03a606
This commit is contained in:
Paul Gilbert 2021-06-06 21:06:45 -07:00
parent cd8a0cff0d
commit eb1e337edd
46 changed files with 108 additions and 107 deletions

View file

@ -498,7 +498,7 @@ void scriptDebugHook(ccInstance *ccinst, int linenum) {
if (pluginsWantingDebugHooks > 0) {
// a plugin is handling the debugging
String scname = GetScriptName(ccinst);
pl_run_plugin_debug_hooks(scname, linenum);
pl_run_plugin_debug_hooks(scname.GetCStr(), linenum);
return;
}