diff --git a/Source/controls/touch/renderers.cpp b/Source/controls/touch/renderers.cpp index 3e934346d..54eedf2eb 100644 --- a/Source/controls/touch/renderers.cpp +++ b/Source/controls/touch/renderers.cpp @@ -138,8 +138,9 @@ void LoadPotionArt(Art *potionArt, SDL_Renderer *renderer) Point position { 0, 0 }; for (item_cursor_graphic graphic : potionGraphics) { - const int frame = CURSOR_FIRSTITEM + graphic; - const OwnedCelSprite &potionSprite = GetInvItemSprite(frame); + const int cursorID = CURSOR_FIRSTITEM + graphic; + const int frame = GetInvItemFrame(cursorID); + const OwnedCelSprite &potionSprite = GetInvItemSprite(cursorID); position.y += potionSize.height; CelClippedDrawTo(Surface(surface.get()), position, potionSprite, frame); }