This reverts commit 179cb50557.
This commit is contained in:
parent
179cb50557
commit
c2ecc76457
588 changed files with 16260 additions and 10926 deletions
|
|
@ -91,11 +91,11 @@ namespace Server.Items
|
|||
Point3D loc = new Point3D(p);
|
||||
|
||||
if (p is StaticTarget target)
|
||||
loc.Z -= TileData.ItemTable[target.ItemID].CalcHeight;
|
||||
/* NOTE: OSI does not properly normalize Z positioning here.
|
||||
* A side affect is that you can only place on floors (due to the CanFit call).
|
||||
* That functionality may be desired. And so, it's included in this script.
|
||||
*/
|
||||
loc.Z -= TileData.ItemTable[target.ItemID]
|
||||
.CalcHeight; /* NOTE: OSI does not properly normalize Z positioning here.
|
||||
* A side affect is that you can only place on floors (due to the CanFit call).
|
||||
* That functionality may be desired. And so, it's included in this script.
|
||||
*/
|
||||
|
||||
if (ValidatePlacement(from, loc))
|
||||
EndPlace(from, type, loc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue