Browse Source

Don't destroy hold item when setting cursor to hourglass

pull/4279/head
staphen 4 years ago committed by Anders Jenbo
parent
commit
f68540f82a
  1. 2
      Source/cursor.cpp

2
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;

Loading…
Cancel
Save