author | nemo |
Sun, 11 Sep 2011 10:46:53 -0400 | |
changeset 5856 | ed97138dc414 |
parent 5855 | 74c621e12baa |
child 5857 | 63276513b7b3 |
--- a/hedgewars/uWorld.pas Sun Sep 11 10:22:09 2011 -0400 +++ b/hedgewars/uWorld.pas Sun Sep 11 10:46:53 2011 -0400 @@ -802,7 +802,7 @@ DrawWater(255, 0); // Attack bar - if CurrentTeam <> nil then + if (CurrentTeam <> nil) and (CurrentHedgehog^.Gear <> nil) then case AttackBar of (* 1: begin r:= StuffPoz[sPowerBar];