List initialize piggy temporary bitmap

This commit is contained in:
Kp 2014-07-04 04:15:35 +00:00
parent c6c197b419
commit 1aee6da0e7

View file

@ -419,7 +419,6 @@ int properties_init()
int sbytes = 0;
char temp_name_read[16];
char temp_name[16];
grs_bitmap temp_bitmap;
digi_sound temp_sound;
DiskBitmapHeader bmh;
DiskSoundHeader sndh;
@ -561,7 +560,7 @@ int properties_init()
else
strcpy( temp_name, temp_name_read );
memset( &temp_bitmap, 0, sizeof(grs_bitmap) );
grs_bitmap temp_bitmap{};
gr_init_bitmap( &temp_bitmap, 0, 0, 0,
(bmh.dflags & DBM_FLAG_LARGE) ? bmh.width + 256 : bmh.width, bmh.height,
(bmh.dflags & DBM_FLAG_LARGE) ? bmh.width + 256 : bmh.width, Piggy_bitmap_cache_data);