Fixed incorrect Selection call to selected item when switching left and right hand.

Sometimes also caused errors.
Bernhard Bonigl 2012-05-06 18:24:56 +02:00
parent f295d10b6d
commit 6a885d33aa
1 changed files with 1 additions and 1 deletions

View File

@ -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);