fix to PCX loading (Spike made a typo)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2899 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2008-02-02 07:14:56 +00:00
parent 1e64dfd76d
commit dd4e46f220
1 changed files with 2 additions and 2 deletions

View File

@ -1251,10 +1251,10 @@ qbyte *ReadPCXFile(qbyte *buf, int length, int *width, int *height)
count = (swidth) * (sheight);
pcx_rgb = BZ_Malloc( count * 4);
for (y=0 ; y<swidth ; y++)
for (y=0 ; y<sheight ; y++)
{
pix = pcx_rgb + 4*y*(swidth);
for (x=0 ; x<sheight ; )
for (x=0 ; x<swidth ; )
{
dataByte = *data;
data++;