From f68540f82a35e0e251bacbb9383201faaffe3f41 Mon Sep 17 00:00:00 2001 From: staphen Date: Thu, 31 Mar 2022 01:30:14 -0400 Subject: [PATCH] Don't destroy hold item when setting cursor to hourglass --- Source/cursor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cursor.cpp b/Source/cursor.cpp index 974e742d1..e63d673b3 100644 --- a/Source/cursor.cpp +++ b/Source/cursor.cpp @@ -177,7 +177,7 @@ void ResetCursor() void NewCursor(int cursId) { - if (cursId < CURSOR_FIRSTITEM && MyPlayer != nullptr) { + if (cursId < CURSOR_HOURGLASS && MyPlayer != nullptr) { MyPlayer->HoldItem._itype = ItemType::None; } pcurs = cursId;