From f34d1820bb1d6109e79237eec3a64070f5949dd0 Mon Sep 17 00:00:00 2001 From: icomrade Date: Thu, 8 Dec 2016 16:46:23 -0500 Subject: [PATCH] Fix full cinder wall vector building #1813 --- CHANGE LOG 1.0.6.1.txt | 1 + SQF/dayz_code/actions/modular_build.sqf | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGE LOG 1.0.6.1.txt b/CHANGE LOG 1.0.6.1.txt index f039ef830..17b8a6594 100644 --- a/CHANGE LOG 1.0.6.1.txt +++ b/CHANGE LOG 1.0.6.1.txt @@ -12,5 +12,6 @@ [FIXED] Giving pain killers to another player no longer removes pain from the player giving the pain killers. [FIXED] Occasional undefined error for text color attribute when salvaging vehicles. @ebayShopper [FIXED] M24 ammo prices are now 1/4 of DMR ammo prices, so no profit can be made by combining M24 rounds. @looter809 @ebayShopper +[FIXED] Full cinderblock walls now work properly with vectory building #1813. @DeVloek @icomrade [INFO] See Documents\CHANGE LOG 1.0.6.txt for the full list of 1.0.5.1 --> 1.0.6 changes. \ No newline at end of file diff --git a/SQF/dayz_code/actions/modular_build.sqf b/SQF/dayz_code/actions/modular_build.sqf index 365750ee6..5cfb2a6a6 100644 --- a/SQF/dayz_code/actions/modular_build.sqf +++ b/SQF/dayz_code/actions/modular_build.sqf @@ -385,6 +385,7 @@ if (_canBuild select 0) then { _vUp = _vector select 1; switch (_classname) do { case "MetalFloor_DZ": { _buildOffset = [(_vUp select 0) * .148, (_vUp select 1) * .148,0]; }; + case "CinderWall_DZ": { _buildOffset = [(_vUp select 0) * 1.686, (_vUp select 1) * 1.686,0]; }; }; _location = [