修复拖拽位置bug
This commit is contained in:
parent
f2173d2ae1
commit
016199c0a5
Binary file not shown.
@ -58,7 +58,7 @@ bool UContainerInfo::RemoveContainerItem(const int32& ItemID)
|
|||||||
{
|
{
|
||||||
for (int y = 0; y < Item.GetItemHeight(); y++)
|
for (int y = 0; y < Item.GetItemHeight(); y++)
|
||||||
{
|
{
|
||||||
if (Item.IsSlotUsing(FIntPoint(x + Item.ContainerStartPos.X, y + Item.ContainerStartPos.Y)))
|
if (Item.IsSlotUsing(FIntPoint(x, y )))
|
||||||
{
|
{
|
||||||
SlotInUsing[FIntPoint(x + Item.ContainerStartPos.X, y + Item.ContainerStartPos.Y)] = false;
|
SlotInUsing[FIntPoint(x + Item.ContainerStartPos.X, y + Item.ContainerStartPos.Y)] = false;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user