Fixed sprinting in 1.6.1, made speeds available through API; fixed messages containing quotes.
Fixes FS #415 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1660 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -1193,6 +1193,17 @@ void cClientHandle::HandleEntityAction(int a_EntityID, char a_ActionID)
|
||||
m_Player->GetWorld()->BroadcastPlayerAnimation(*m_Player, 3);
|
||||
break;
|
||||
}
|
||||
case 4: // Start sprinting
|
||||
{
|
||||
m_Player->SetSprint(true);
|
||||
break;
|
||||
}
|
||||
case 5: // Stop sprinting
|
||||
{
|
||||
m_Player->SetSprint(false);
|
||||
SendPlayerMaxSpeed();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user