From 26e1fa15764a6908abe4fbcf99cfb05de33054a0 Mon Sep 17 00:00:00 2001 From: Ali El Gariani Date: Thu, 1 May 2008 15:02:08 +0000 Subject: [PATCH] Fix a bug reported in forum about unstoned units... ...not directly having their attacks back. Attacks_left() already returned 0 for stoned unit, no need to set it to 0 each turn. --- src/unit.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/unit.cpp b/src/unit.cpp index 9b82228ed0b..6b5f4406e89 100644 --- a/src/unit.cpp +++ b/src/unit.cpp @@ -678,9 +678,6 @@ void unit::new_turn() attacks_left_ = max_attacks_; set_state("hides","yes"); - if(incapacitated()) { - set_attacks(0); - } if (hold_position_) { end_turn_ = true; }