#W# I think the backend for Inns and Static houses are done!

This commit is contained in:
WarrentyExpired 2026-08-25 14:35:16 -04:00
parent 8f44a3fe50
commit 83be03adea
6 changed files with 41 additions and 35 deletions

View file

@ -158,13 +158,16 @@ namespace Server.Custom.InnRooms
if (RoomMap != null)
{
IPooledEnumerable eable = RoomMap.GetItemsInRange(RoomLocation, 12);
IPooledEnumerable eable = RoomMap.GetItemsInRange(RoomLocation, 8);
foreach (Item item in eable)
{
if (item is InnExitDoor)
{
dest = item.Location;
break;
if (m_RoomArea.Contains(new Point2D(item.X, item.Y)))
{
dest = item.Location;
break;
}
}
}
eable.Free();