Permalink
Browse files

DragItem: don't care about BAM cycles for the dragged image

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 b9e41f69a2bb5723a8bcb5153e2b5c9fdf3b6873
Showing with 1 addition and 1 deletion.
  1. +1 −1 gemrb/core/Interface.cpp
View
@@ -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();

0 comments on commit b9e41f6

Please sign in to comment.