mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
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:
parent
1e64dfd76d
commit
dd4e46f220
1 changed files with 2 additions and 2 deletions
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue