From 7394f68769c97449e576c7e099e96935f5d5c359 Mon Sep 17 00:00:00 2001 From: Erik Persson Date: Wed, 12 Feb 2014 10:57:43 +0100 Subject: [PATCH] GL - fixed what some asshole did in weapon --- Code/Game/GameLogic/Weapon.cpp | 8 -------- 1 file changed, 8 deletions(-) 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;