Browse Source

Обновить 'source/units/unit.cpp'

Arkady Bokov 6 years ago
parent
commit
3825347185
1 changed files with 3 additions and 3 deletions
  1. 3 3
      source/units/unit.cpp

+ 3 - 3
source/units/unit.cpp

@@ -144,11 +144,11 @@ void Unit::setLocation(Cell* to) {
 
 int Unit::getMaxHealthPoints(){
  	return max_health_points_;  
-};
+}
   	
-void setHealthPoints(int value){
+void Unit::setHealthPoints(int value){
 	health_points_ = value;
-};
+}
 
 int Unit::getInitiative() {
 	return initiative_;