@@ -1303,16 +1303,16 @@ bool Gui::addCombatReportAuto(df::unit *unit, df::announcement_flags mode, int r
13031303
13041304void Gui::showAnnouncement (std::string message, int color, bool bright)
13051305{
1306- df::announcement_flags mode ( 0 ) ;
1306+ df::announcement_flags mode;
13071307 mode.bits .D_DISPLAY = mode.bits .A_DISPLAY = true ;
13081308
1309- makeAnnouncement (df::announcement_type (0 ), mode, df::coord (), message, color, bright);
1309+ makeAnnouncement (df::announcement_type (), mode, df::coord (), message, color, bright);
13101310}
13111311
13121312void Gui::showZoomAnnouncement (
13131313 df::announcement_type type, df::coord pos, std::string message, int color, bool bright
13141314) {
1315- df::announcement_flags mode ( 0 ) ;
1315+ df::announcement_flags mode;
13161316 mode.bits .D_DISPLAY = mode.bits .A_DISPLAY = true ;
13171317
13181318 makeAnnouncement (type, mode, pos, message, color, bright);
@@ -1335,7 +1335,7 @@ void Gui::showAutoAnnouncement(
13351335) {
13361336 using df::global::announcements;
13371337
1338- df::announcement_flags flags ( 0 ) ;
1338+ df::announcement_flags flags;
13391339 flags.bits .D_DISPLAY = flags.bits .A_DISPLAY = true ;
13401340
13411341 if (is_valid_enum_item (type) && announcements)
0 commit comments