Use .reset() for free_endlevel_data bm
This commit is contained in:
parent
31360adb9c
commit
23d6735f7a
|
@ -241,8 +241,8 @@ static int start_endlevel_movie()
|
|||
|
||||
void free_endlevel_data()
|
||||
{
|
||||
gr_free_bitmap_data(terrain_bm_instance);
|
||||
gr_free_bitmap_data(satellite_bm_instance);
|
||||
terrain_bm_instance.reset();
|
||||
satellite_bm_instance.reset();
|
||||
|
||||
free_light_table();
|
||||
free_height_array();
|
||||
|
|
Loading…
Reference in a new issue