ScavTrap fixes
This commit is contained in:
BIN
ex00/ClapTrap/ClapTrap.o
Normal file
BIN
ex00/ClapTrap/ClapTrap.o
Normal file
Binary file not shown.
BIN
ex00/claptrap
Executable file
BIN
ex00/claptrap
Executable file
Binary file not shown.
BIN
ex00/main.o
Normal file
BIN
ex00/main.o
Normal file
Binary file not shown.
@@ -40,6 +40,7 @@ ScavTrap& ScavTrap::operator=(const ScavTrap &other)
|
|||||||
this->health = other.health;
|
this->health = other.health;
|
||||||
this->energy = other.energy;
|
this->energy = other.energy;
|
||||||
this->attackDamage = other.attackDamage;
|
this->attackDamage = other.attackDamage;
|
||||||
|
this->guarding_gate = other.guarding_gate;
|
||||||
}
|
}
|
||||||
return (*this);
|
return (*this);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,6 +40,7 @@ ScavTrap& ScavTrap::operator=(const ScavTrap &other)
|
|||||||
this->health = other.health;
|
this->health = other.health;
|
||||||
this->energy = other.energy;
|
this->energy = other.energy;
|
||||||
this->attackDamage = other.attackDamage;
|
this->attackDamage = other.attackDamage;
|
||||||
|
this->guarding_gate = other.guarding_gate;
|
||||||
}
|
}
|
||||||
return (*this);
|
return (*this);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user