Removed obsolete code

This commit is contained in:
Florian Kinder
2014-02-11 21:56:25 +01:00
parent 78bb0df862
commit 387075f6ae
2 changed files with 4 additions and 14 deletions

View File

@@ -67,15 +67,6 @@ if (_isOk) then {
if (_create == "MeleeFishingPole") then { if (_create == "MeleeFishingPole") then {
player addMagazine 'Fishing_Swing'; player addMagazine 'Fishing_Swing';
}; };
if (_type == "cfgWeapons") then {
_muzzles = getArray(configFile >> "cfgWeapons" >> _create >> "muzzles");
_wtype = ((weapons player) select 0);
if (count _muzzles > 1) then {
player selectWeapon (_muzzles select 0);
} else {
player selectWeapon _wtype;
};
};
}; };
} else { } else {

View File

@@ -365,7 +365,6 @@ if (_hasrequireditem) then {
// No building in trader zones // No building in trader zones
if(!canbuild) then { _cancel = true; _reason = "Cannot build in a city."; }; if(!canbuild) then { _cancel = true; _reason = "Cannot build in a city."; };
if(!placevault) then { _cancel = true; _reason = "Cannot build in a city."; };
if(!_cancel) then { if(!_cancel) then {