forked from Mirrors/openclonk
Fixed Bug with CarryHeavy-Display and reaction
parent
c75f70e387
commit
deec6a902a
|
@ -232,7 +232,10 @@ protected func Entrance(object obj)
|
||||||
if(obj->~GetCarryHeavy() == this)
|
if(obj->~GetCarryHeavy() == this)
|
||||||
{
|
{
|
||||||
liftheavy_carrier = obj;
|
liftheavy_carrier = obj;
|
||||||
DoLift();
|
if(obj->GetAction() == "Walk")
|
||||||
|
DoLift();
|
||||||
|
else
|
||||||
|
AddEffect("IntCarryHeavy",obj, 1, 1, this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -551,8 +551,7 @@ public func CarryHeavy(object target)
|
||||||
this->~OnCarryHeavyChange(carryheavy);
|
this->~OnCarryHeavyChange(carryheavy);
|
||||||
|
|
||||||
// Update attach stuff
|
// Update attach stuff
|
||||||
this->~OnHandFull();
|
this->~OnSlotFull();
|
||||||
//this->~UpdateAttach();
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue