Solved undefined value

This commit is contained in:
Xavi Del Campo 2020-01-31 22:13:47 +01:00
parent 6b14cee120
commit 37d37cb102
1 changed files with 127 additions and 126 deletions

View File

@ -214,6 +214,7 @@ PS_BITMAP *ps_load_bitmap(char *filename, PS_RGB *palette)
if(bm->depth == 4) l = 16;
else if(bm->depth == 8) l = 256;
else if(bm->depth == 1) l = 2;
else l = 0;
for(x=0;x<l;x++)
{