修复船舱添加物品bug

This commit is contained in:
997146918 2025-10-20 19:49:47 +08:00
parent a8f426c2fc
commit 680b6b3d87
8 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
"BuildId": "37670630", "BuildId": "37670630",
"Modules": "Modules":
{ {
"ProjectFish": "UnrealEditor-ProjectFish-0001.dll", "ProjectFish": "UnrealEditor-ProjectFish.dll",
"ProjectFishEditor": "UnrealEditor-ProjectFishEditor-0001.dll" "ProjectFishEditor": "UnrealEditor-ProjectFishEditor.dll"
} }
} }

View File

@ -2,6 +2,6 @@
"BuildId": "37670630", "BuildId": "37670630",
"Modules": "Modules":
{ {
"DeskMode": "UnrealEditor-DeskMode-0001.dll" "DeskMode": "UnrealEditor-DeskMode.dll"
} }
} }

View File

@ -83,13 +83,13 @@ bool UContainerInfo::IsItemOverlapOtherItem(FContainerItem NewItem, FIntPoint Po
if (!ContainerShape->IsSlotActive(Position.X + x, Position.Y + y) || if (!ContainerShape->IsSlotActive(Position.X + x, Position.Y + y) ||
SlotInUsing.Find(FIntPoint(x + Position.X, y + Position.Y))) SlotInUsing.Find(FIntPoint(x + Position.X, y + Position.Y)))
{ {
return false; return true;
} }
} }
} }
} }
return true; return false;
} }
bool UContainerInfo::IsItemInContainerShape(FContainerItem NewItem, FIntPoint Position) bool UContainerInfo::IsItemInContainerShape(FContainerItem NewItem, FIntPoint Position)