diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp index a06b07173..50f4b0b2b 100644 --- a/src/gameconfigfile.cpp +++ b/src/gameconfigfile.cpp @@ -127,7 +127,7 @@ FGameConfigFile::~FGameConfigFile () void FGameConfigFile::WriteCommentHeader (FILE *file) const { - fprintf (file, "# This file was generated by ZDOOM " DOTVERSIONSTR " on %s" + fprintf (file, "# This file was generated by " GAMENAME " " DOTVERSIONSTR " on %s" "# It is not really meant to be modified outside of ZDoom, nyo.\n\n", myasctime ()); } diff --git a/src/v_draw.cpp b/src/v_draw.cpp index 2be618c1b..d11cf1988 100644 --- a/src/v_draw.cpp +++ b/src/v_draw.cpp @@ -632,7 +632,7 @@ void DCanvas::FillBorder (FTexture *img) // non-software renderers must be able to override it. void DCanvas::DrawPlayerBackdrop (DCanvas *src, const BYTE *FireRemap, int x, int y) { - DCanvas *dest = screen; + DCanvas *dest = this; BYTE *destline, *srcline; const int destwidth = src->GetWidth() * CleanXfac / 2; const int destheight = src->GetHeight() * CleanYfac / 2;