Skip to content

Commit

Permalink
Fix UB in pixel minimap
Browse files Browse the repository at this point in the history
  • Loading branch information
olanti-p committed Aug 6, 2021
1 parent d22b201 commit c78f3af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pixel_minimap.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class pixel_minimap
//track the previous viewing area to determine if the minimap cache needs to be cleared
tripoint cached_center_sm;
// track presence of animated beacons to determine whether the minimap needs to be animated
bool cached_has_animated_beacons;
bool cached_has_animated_beacons = true;

SDL_Rect screen_rect;
SDL_Rect main_tex_clip_rect;
Expand Down

0 comments on commit c78f3af

Please sign in to comment.