forked from Mirrors/openclonk
Drive animation/pose for plane; clonk doesn't swim inside containers
parent
cf720b8bc8
commit
0469fe5c81
Binary file not shown.
Binary file not shown.
|
@ -844,7 +844,7 @@ func FxIntWalkTimer(pTarget, effect)
|
|||
{
|
||||
|
||||
// Test Waterlevel
|
||||
if(GBackLiquid(0, -5))
|
||||
if(GBackLiquid(0, -5) && !Contained())
|
||||
{
|
||||
SetAction("Swim");
|
||||
if(GetComDir() == COMD_Left)
|
||||
|
|
Binary file not shown.
|
@ -330,6 +330,7 @@ public func ActivateEntrance(object clonk)
|
|||
clonk->Enter(this);
|
||||
clonk->SetAction("Walk");
|
||||
PlaneMount(clonk);
|
||||
clonk->PlayAnimation("Drive", 5, Anim_Const(10), Anim_Const(1000));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue