HealthBar Library
Diff: HealthBar.cpp
- Revision:
- 3:824c16fb35e7
- Parent:
- 1:9f2d307b3b99
--- a/HealthBar.cpp Thu May 04 11:36:55 2017 +0000 +++ b/HealthBar.cpp Thu May 04 11:50:43 2017 +0000 @@ -67,7 +67,7 @@ if(TotalHP == 1){ lcd.drawLine(0,47,10,47,1); //Working } - if(TotalHP == 0){ + if(TotalHP <= 0){ ZeroHP = 1; }