Removed mousedrag&drop for actionbar

This was wrongly introduced some commits ago
Maikel de Vries 2012-01-31 23:26:51 +01:00
parent ca6f25b785
commit 8a02a17d44
1 changed files with 4 additions and 2 deletions

View File

@ -50,8 +50,6 @@ protected func Construction()
this.Parallaxity = [0,0];
// visibility
this.Visibility = VIS_None;
// mouse drag
this.MouseDrag = MD_DragSource | MD_DropTarget;
}
protected func Destruction()
@ -286,6 +284,10 @@ public func SetObject(object obj, int type, int pos, int hot)
myobject = obj;
hotkey = hot;
// Set mousedrag for inventory objects
if (actiontype == ACTIONTYPE_INVENTORY)
this.MouseDrag = MD_DragSource | MD_DropTarget;
if(!myobject)
{
SetGraphics("None");