From 079e3d721f8e3772bf615364f6ced629a6eb7935 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Sat, 15 Mar 2025 14:57:28 -0500 Subject: [PATCH] Fix steal-item dialog breaking get-items modal status --- src/game/boe.items.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/boe.items.cpp b/src/game/boe.items.cpp index 76269fb9..7bb06117 100644 --- a/src/game/boe.items.cpp +++ b/src/game/boe.items.cpp @@ -463,7 +463,7 @@ static bool display_item_event_filter(cDialog& me, std::string id, size_t& first item = *item_array[item_hit]; if(item.property) { if(!me.getResult()) { - std::string choice = cChoiceDlog("steal-item",{"steal","leave"}).show(); + std::string choice = cChoiceDlog("steal-item",{"steal","leave"}, &me).show(); if(choice == "leave") return true; me.setResult(true); }