From 4e253d0ec0e14a35af6ad3594e44fec3c64192a6 Mon Sep 17 00:00:00 2001 From: Asdow <20314541+Asdow@users.noreply.github.com> Date: Sat, 9 Nov 2024 15:24:10 +0200 Subject: [PATCH] Update Dialogue Control.cpp Fix an access to member variable that prevented compilation --- Tactical/Dialogue Control.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tactical/Dialogue Control.cpp b/Tactical/Dialogue Control.cpp index 659c8c48..6ffe3ee1 100644 --- a/Tactical/Dialogue Control.cpp +++ b/Tactical/Dialogue Control.cpp @@ -900,11 +900,11 @@ void HandleDialogue( ) } else if ( QItem.uiSpecialEventFlag & DIALOGUE_SPECIAL_EVENT_CONTRACT_WANTS_TO_RENEW ) { - HandleMercIsWillingToRenew( (UINT16)QItem->uiSpecialEventData ); + HandleMercIsWillingToRenew( (UINT16)QItem.uiSpecialEventData ); } else if ( QItem.uiSpecialEventFlag & DIALOGUE_SPECIAL_EVENT_CONTRACT_NOGO_TO_RENEW ) { - HandleMercIsNotWillingToRenew( (UINT16)QItem->uiSpecialEventData ); + HandleMercIsNotWillingToRenew( (UINT16)QItem.uiSpecialEventData ); } else {