[Doors] Fix doors triggering invalid zone fetches of dest_zone of "none" (#2985)

* [Doors] Fix doors triggering invalid zone fetches of dest_zone of "none"

* Update doors.cpp

* Tweaks

* PR comments
This commit is contained in:
Chris Miles
2023-02-24 13:22:56 -06:00
committed by GitHub
parent 04fdc54522
commit 7519b0225e
2 changed files with 30 additions and 18 deletions
+5
View File
@@ -67,8 +67,13 @@ public:
float GetZ();
float GetHeading();
bool HasDestinationZone() const;
bool IsDestinationZoneSame() const;
private:
bool m_has_destination_zone = false;
bool m_same_destination_zone = false;
uint32 m_database_id;
uint8 m_door_id;
char m_zone_name[32];