Fix full cinder wall vector building #1813

This commit is contained in:
icomrade
2016-12-08 16:46:23 -05:00
parent 2c8f236f95
commit f34d1820bb
2 changed files with 2 additions and 0 deletions

View File

@@ -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.

View File

@@ -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 = [