if the clonk is stuck, he can't jump

Tobias Zwick 2010-12-08 16:46:54 +01:00
parent 87faf5c0b5
commit fb7a327475
1 changed files with 1 additions and 1 deletions

View File

@ -1391,7 +1391,7 @@ public func ControlJump()
ydir = BoundBy(GetPhysical("Swim")/2500,24,38);
}
if (ydir)
if (ydir && !Stuck())
{
SetPosition(GetX(),GetY()-1);
SetAction("Jump");