diff options
| -rw-r--r-- | src/cract.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cract.cc b/src/cract.cc index 7b5673e..dea0ae2 100644 --- a/src/cract.cc +++ b/src/cract.cc @@ -550,7 +550,6 @@ void TCreature::Move(Object Obj, int DestX, int DestY, int DestZ, uint8 Count){ } try{ - // TODO(fusion): Find out what is this last parameter to `Move`. ::Move(this->ID, Obj, DestCon, MoveCount, false, DestObj); }catch(RESULT r){ // NOTE(fusion): Attempt to exchange inventory items. @@ -562,7 +561,7 @@ void TCreature::Move(Object Obj, int DestX, int DestY, int DestZ, uint8 Count){ || r == ONEWEAPONONLY)){ Object ObjCon = Obj.getContainer(); ::Move(this->ID, DestObj, ObjCon, -1, false, NONE); - ::Move(this->ID, Obj, DestCon, MoveCount, false, NONE); + ::Move(this->ID, Obj, DestCon, MoveCount, false, DestObj); }else{ throw; } |
