Clonk can't turn around whilst rolling

Charles Spurrill 2011-10-25 15:01:27 -07:00
parent 5f5f2f3975
commit 4ce3b0d477
1 changed files with 2 additions and 0 deletions

View File

@ -1043,6 +1043,7 @@ func EndKneel()
//rollp
func StartRoll()
{
SetTurnForced(GetDir());
Sound("Roll");
if(GetDir() == 1) rolldir = 1;
else
@ -1068,6 +1069,7 @@ func FxRollingTimer(object target, int num, int timer)
if(timer > rolllength)
{
SetAction("Walk");
SetTurnForced(-1);
rolldir = nil;
return -1;
}