AGS: Move cc_script.cpp globals to Globals

This commit is contained in:
Paul Gilbert 2021-03-06 20:07:09 -08:00
parent dfbcfd212c
commit 1e327a63f8
9 changed files with 31 additions and 29 deletions

View file

@ -282,7 +282,7 @@ void debug_script_print(const String &msg, MessageType mt) {
scriptname = "D ";
else
scriptname = "? ";
script_ref.Format("[%s%d]", scriptname.GetCStr(), currentline);
script_ref.Format("[%s%d]", scriptname.GetCStr(), _G(currentline));
}
Debug::Printf(kDbgGroup_Game, mt, "(room:%d)%s %s", displayed_room, script_ref.GetCStr(), msg.GetCStr());