#765: Clonk stops moving when setting down heavy-objects

Charles Spurrill 2012-07-22 17:35:27 -07:00
parent c57f05a44f
commit 41f5f59ebf
1 changed files with 3 additions and 0 deletions

View File

@ -168,6 +168,9 @@ func FxIntDropHeavyStart(object clonk, proplist effect, bool tmp)
clonk->SetHandAction(1);
clonk->SetAction("Stand");
//Stop the clonk if he is moving
if(clonk->GetXDir() != 0) clonk->SetXDir();
//Attach the mesh of the object. It is not displayed normally because the
//hands are told they have an action in the next few lines
effect.mesh = clonk->AttachMesh(this->GetID(), "pos_tool1", "main", this->~GetCarryTransform(clonk));