Drive animation/pose for plane; clonk doesn't swim inside containers

Charles Spurrill 2011-10-01 08:34:35 -07:00
parent cf720b8bc8
commit 0469fe5c81
5 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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));
}
}