forked from Mirrors/openclonk
Fixed incorrect Selection call to selected item when switching left and right hand.
Sometimes also caused errors.
parent
f295d10b6d
commit
6a885d33aa
|
@ -131,7 +131,7 @@ public func SetHandItemPos(int hand, int inv)
|
|||
if(GetHandItem(hand2))
|
||||
{
|
||||
this->~OnSlotFull(hand2);
|
||||
GetItem(inv)->~Selection(this, hand2);
|
||||
GetHandItem(hand2)->~Selection(this, hand2);
|
||||
}
|
||||
else
|
||||
this->~OnSlotEmpty(hand2);
|
||||
|
|
Loading…
Reference in New Issue