List initialize bitmap
This commit is contained in:
parent
a07376fe05
commit
4a81c3c482
|
@ -316,7 +316,7 @@ static int load_pigpog(const char *pogname)
|
|||
}
|
||||
|
||||
GameBitmapOffset[x] = 0; // not in pig
|
||||
memset(bmp, 0, sizeof(*bmp));
|
||||
*bmp = {};
|
||||
gr_init_bitmap (bmp, 0, 0, 0, cip->width, cip->height, cip->width, p);
|
||||
gr_set_bitmap_flags(bmp, cip->flags & 255);
|
||||
bmp->avg_color = cip->flags >> 8;
|
||||
|
|
Loading…
Reference in a new issue