- 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:
Randy Heit 2008-02-09 03:09:56 +00:00
commit 0bb9fc1e2d
7 changed files with 15 additions and 10 deletions

View file

@ -393,7 +393,7 @@ void FTexture::FlipNonSquareBlock (BYTE *dst, const BYTE *src, int x, int y, int
}
}
void FTexture::FlipNonSquareBlockRemap (BYTE *dst, const BYTE *src, int x, int y, const BYTE *remap)
void FTexture::FlipNonSquareBlockRemap (BYTE *dst, const BYTE *src, int x, int y, int srcpitch, const BYTE *remap)
{
int i, j;
@ -401,7 +401,7 @@ void FTexture::FlipNonSquareBlockRemap (BYTE *dst, const BYTE *src, int x, int y
{
for (j = 0; j < y; ++j)
{
dst[i*y+j] = remap[src[i+j*x]];
dst[i*y+j] = remap[src[i+j*srcpitch]];
}
}
}