ScavTrap guarding gate copy

This commit is contained in:
Angel Ortigosa Perez
2025-10-26 20:36:16 +01:00
parent 8277d2c131
commit 05ac15685d

View File

@@ -30,7 +30,7 @@ ScavTrap::ScavTrap(std::string name) : ClapTrap(name)
<< std::endl;
}
ScavTrap::ScavTrap(const ScavTrap &other) : ClapTrap(other) { }
ScavTrap::ScavTrap(const ScavTrap &other) : ClapTrap(other), guarding_gate(other.guarding_gate) { }
ScavTrap& ScavTrap::operator=(const ScavTrap &other)
{