Skip to content

Commit

Permalink
DragItem: don't care about BAM cycles for the dragged image
Browse files Browse the repository at this point in the history
Fixes SCRL7E going invisible when dragging because the BAM doesn't
have any frames in cycle 0.
  • Loading branch information
fizzet committed May 5, 2013
1 parent 9ca67d1 commit b9e41f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gemrb/core/Interface.cpp
Expand Up @@ -4675,7 +4675,7 @@ void Interface::DragItem(CREItem *item, const ieResRef Picture)
if (video) {
Sprite2D* DraggedCursor = NULL;
if (item) {
DraggedCursor = gamedata->GetBAMSprite( Picture, 0, 0 );
DraggedCursor = gamedata->GetBAMSprite( Picture, -1, 0 );
}
video->SetCursor (DraggedCursor, VID_CUR_DRAG);
if (DraggedCursor) DraggedCursor->release();
Expand Down

0 comments on commit b9e41f6

Please sign in to comment.