- minor fix in DrawPlayerBackdrop.

SVN r633 (trunk)
This commit is contained in:
Christoph Oelckers 2007-12-23 22:22:21 +00:00
parent 8a433d6f12
commit 3c4344f2ec
2 changed files with 2 additions and 2 deletions

View file

@ -127,7 +127,7 @@ FGameConfigFile::~FGameConfigFile ()
void FGameConfigFile::WriteCommentHeader (FILE *file) const 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 ()); "# It is not really meant to be modified outside of ZDoom, nyo.\n\n", myasctime ());
} }

View file

@ -632,7 +632,7 @@ void DCanvas::FillBorder (FTexture *img)
// non-software renderers must be able to override it. // non-software renderers must be able to override it.
void DCanvas::DrawPlayerBackdrop (DCanvas *src, const BYTE *FireRemap, int x, int y) void DCanvas::DrawPlayerBackdrop (DCanvas *src, const BYTE *FireRemap, int x, int y)
{ {
DCanvas *dest = screen; DCanvas *dest = this;
BYTE *destline, *srcline; BYTE *destline, *srcline;
const int destwidth = src->GetWidth() * CleanXfac / 2; const int destwidth = src->GetWidth() * CleanXfac / 2;
const int destheight = src->GetHeight() * CleanYfac / 2; const int destheight = src->GetHeight() * CleanYfac / 2;