mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- minor fix in DrawPlayerBackdrop.
SVN r633 (trunk)
This commit is contained in:
parent
8a433d6f12
commit
3c4344f2ec
2 changed files with 2 additions and 2 deletions
|
@ -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 ());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue