Fixed: Free animal in player trade.
Player could free an animal already selected in trade. When abort, client was given a copy of the (ghost)item in bag. --HG-- branch : develop
This commit is contained in:
parent
09cb6f56dd
commit
ef1a51d0e4
1 changed files with 2 additions and 1 deletions
|
@ -1532,6 +1532,7 @@ public:
|
|||
virtual void execute (CCtrlBase * /* pCaller */, const string &Params)
|
||||
{
|
||||
// free with no confirm
|
||||
if (!UserEntity->isBusy())
|
||||
beastOrder ("free", Params, false);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue