diff --git a/Code/Game/GameLogic/Weapon.cpp b/Code/Game/GameLogic/Weapon.cpp index e52fe8df..66de8e33 100644 --- a/Code/Game/GameLogic/Weapon.cpp +++ b/Code/Game/GameLogic/Weapon.cpp @@ -18,17 +18,9 @@ Weapon::Weapon() Weapon::Weapon(int MaxNrOfSockets,Player *owner) { - if(MaxNrOfSockets > 1) return; - - attatchmentSockets.Resize(MaxNrOfSockets); attatchmentSockets[0] = new AttatchmentSocket(); - for (int i = 0; i < MaxNrOfSockets; i++) - { - this->attatchmentSockets[i] = 0; - } - weaponState = WEAPON_STATE_IDLE; currentNrOfAttatchments = 0; selectedAttatchment = 0;