From 0829bc08b825686e2db0346868a14defeae01920 Mon Sep 17 00:00:00 2001 From: Chris Miles Date: Wed, 15 Feb 2023 10:59:38 -0600 Subject: [PATCH] [Doors] Fix issue where NPC's wouldn't open doors because door param overflow (#2934) --- zone/doors.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zone/doors.h b/zone/doors.h index 1c26df3c9..d9ea7c0e7 100644 --- a/zone/doors.h +++ b/zone/doors.h @@ -38,7 +38,7 @@ public: uint16 GetSize() { return m_size; } uint32 GetClientVersionMask() { return m_client_version_mask; } uint32 GetDoorDBID() { return m_database_id; } - uint32 GetDoorParam() { return m_door_param; } + int32 GetDoorParam() { return m_door_param; } uint32 GetEntityID() { return m_entity_id; } uint32 GetGuildID() { return m_guild_id; } uint32 GetKeyItem() { return m_key_item_id; } @@ -82,7 +82,7 @@ private: uint8 m_no_key_ring; uint8 m_trigger_door; uint8 m_trigger_type; - uint32 m_door_param; + int32 m_door_param; uint16 m_size; int m_invert_state; uint32 m_entity_id;