From 0f2777e1679fd09e60ff028d9f0b0695121e9c31 Mon Sep 17 00:00:00 2001 From: Chris Beck Date: Tue, 3 Jun 2014 10:38:10 -0400 Subject: [PATCH] no movement orbs for enemy statues Putting a movement orb on an enemy petrified unit is rather redundant, so this commit prevents that behavior. Statues owned by the viewing team will still have orbs, which seems acceptable. --- src/unit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unit.cpp b/src/unit.cpp index f8fe5fcbb34d..5d0710bb5493 100644 --- a/src/unit.cpp +++ b/src/unit.cpp @@ -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;