From 15a4ac8e420c3219c2ae92425995a3bff42f73e2 Mon Sep 17 00:00:00 2001 From: qndel Date: Sat, 5 Jun 2021 12:41:47 +0200 Subject: [PATCH] fix magic rock highlight --- Source/scrollrt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/scrollrt.cpp b/Source/scrollrt.cpp index 33ed0348e..68fcb19a8 100644 --- a/Source/scrollrt.cpp +++ b/Source/scrollrt.cpp @@ -640,7 +640,7 @@ static void DrawItem(const CelOutputBuffer &out, int x, int y, int sx, int sy, b CelBlitOutlineTo(out, GetOutlineColor(*pItem, false), position, *cel, nCel); } CelClippedDrawLightTo(out, position, *cel, nCel); - if (pItem->_iAnimFrame == pItem->_iAnimLen) + if (pItem->_iAnimFrame == pItem->_iAnimLen || pItem->_iCurs == ICURS_MAGIC_ROCK) AddItemToLabelQueue(bItem - 1, px, sy); }