- Fixed: D_ReadUserInfoString() parsed the final element of a compact string
as the empty string. Since that was the player class, this meant that any games with more than one class would pick a random class in multiplayer. - Fixed: FCanvasTexture::RenderView() should not have color 0 in its output. SVN r735 (trunk)
This commit is contained in:
parent
22df389ad7
commit
0bb9fc1e2d
7 changed files with 15 additions and 10 deletions
|
|
@ -154,11 +154,11 @@ void FCanvasTexture::RenderView (AActor *viewpoint, int fov)
|
|||
R_SetFOV (savedfov);
|
||||
if (Pixels == Canvas->GetBuffer())
|
||||
{
|
||||
FlipSquareBlock (Pixels, Width, Height);
|
||||
FlipSquareBlockRemap (Pixels, Width, Height, GPalette.Remap);
|
||||
}
|
||||
else
|
||||
{
|
||||
FlipNonSquareBlock (Pixels, Canvas->GetBuffer(), Width, Height, Canvas->GetPitch());
|
||||
FlipNonSquareBlockRemap (Pixels, Canvas->GetBuffer(), Width, Height, Canvas->GetPitch(), GPalette.Remap);
|
||||
}
|
||||
bNeedsUpdate = false;
|
||||
bDidUpdate = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue