Skip to content

Commit

Permalink
Expose attack_indicator_src_
Browse files Browse the repository at this point in the history
  • Loading branch information
jostephd committed Oct 27, 2018
1 parent 81b3c3f commit 00f5b88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/game_display.hpp
Expand Up @@ -149,6 +149,8 @@ class game_display : public display
/** Set the attack direction indicator. */
void set_attack_indicator(const map_location& src, const map_location& dst);
void clear_attack_indicator();
// TODO: compare reports::context::mhb()->current_unit_attacks_from()
const map_location& get_attack_indicator_src() { return attack_indicator_src_; }

/** Function to get attack direction suffix. */
std::string attack_indicator_direction() const {
Expand Down

0 comments on commit 00f5b88

Please sign in to comment.