diff --git a/src/posix/sdl/i_main.cpp b/src/posix/sdl/i_main.cpp index 9527ba6325..9daad08657 100644 --- a/src/posix/sdl/i_main.cpp +++ b/src/posix/sdl/i_main.cpp @@ -162,6 +162,7 @@ static int DoomSpecificInfo (char *buffer, char *end) } else { + auto &vp = r_viewpoint; p += snprintf (buffer+p, size-p, "\n\nCurrent map: %s", vp.camera->Level->MapName.GetChars()); if (!viewactive) diff --git a/src/scripting/backend/codegen.cpp b/src/scripting/backend/codegen.cpp index ace2eca1ad..820caab277 100644 --- a/src/scripting/backend/codegen.cpp +++ b/src/scripting/backend/codegen.cpp @@ -6283,7 +6283,8 @@ FxExpression *FxIdentifier::ResolveMember(FCompileContext &ctx, PContainerType * { if ((sym = objtype->Symbols.FindSymbolInTable(gettername, symtbl)) != nullptr) { - FxExpression *x = new FxMemberFunctionCall(object, gettername, FArgumentList(), ScriptPosition); + FArgumentList argsList; + FxExpression *x = new FxMemberFunctionCall(object, gettername, argsList, ScriptPosition); x = x->Resolve(ctx); delete this; return x;