add more doors

This commit is contained in:
Héctor Giménez
2023-05-19 15:50:27 +09:00
parent 948e0dd26c
commit 813a3722a0

View File

@@ -51,6 +51,7 @@ func (o Object) IsDoor() bool {
switch o.Name { switch o.Name {
case object.DoorCathedralLeft, case object.DoorCathedralLeft,
object.DoorCathedralRight, object.DoorCathedralRight,
object.DoorCathedralDouble,
object.DoorCourtyardLeft, object.DoorCourtyardLeft,
object.DoorCourtyardRight, object.DoorCourtyardRight,
object.DoorGateLeft, object.DoorGateLeft,
@@ -73,6 +74,7 @@ func (o Object) IsDoor() bool {
object.WoodenGrateDoorRight, object.WoodenGrateDoorRight,
object.AndarielDoor, object.AndarielDoor,
object.PenBreakableDoor, object.PenBreakableDoor,
object.ArreatSummitDoorToWorldstone,
object.SecretDoor1: object.SecretDoor1:
return true return true
} }