Skip to content

Commit

Permalink
Merge pull request #186 from cbeck88/fixup_statue_orbs
Browse files Browse the repository at this point in the history
no movement orbs for enemy statues
  • Loading branch information
AI0867 committed Jun 3, 2014
2 parents 79f1e2e + 0f2777e commit eb9076a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unit.cpp
Expand Up @@ -2055,7 +2055,7 @@ void unit::redraw_unit()
if(size_t(side()) != disp.viewing_team()+1) {
if(disp.team_valid() &&
disp.get_teams()[disp.viewing_team()].is_enemy(side())) {
if (preferences::show_enemy_orb())
if (preferences::show_enemy_orb() && !get_state(STATE_PETRIFIED))
orb_img = &enemy_orb;
else
orb_img = NULL;
Expand Down

0 comments on commit eb9076a

Please sign in to comment.