Skip to content

Commit

Permalink
remove unneeded comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomflavio committed Sep 7, 2024
1 parent c6bfdc8 commit 2d0976a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/unithand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3670,7 +3670,6 @@ static bool unit_bombard(struct unit *punit, struct tile *ptile,
{
struct player *pplayer = unit_owner(punit);
struct city *pcity = tile_city(ptile);
// create QMap before loop
std::set<struct player *> players_to_notify;

// Sanity check: The actor still exists.
Expand Down Expand Up @@ -3713,7 +3712,6 @@ static bool unit_bombard(struct unit *punit, struct tile *ptile,

unit_bombs_unit(punit, pdefender, &att_hp, &def_hp);

// in the loop collect players
players_to_notify.insert(unit_owner(pdefender));

see_combat(punit, pdefender);
Expand Down

0 comments on commit 2d0976a

Please sign in to comment.