1
0
Fork 0

Merge pull request #3060 from tonibm19/master

Fixed horse bug
This commit is contained in:
Mattes D 2016-03-01 20:07:11 +01:00
commit c815d03eb4
1 changed files with 4 additions and 1 deletions

View File

@ -176,5 +176,8 @@ void cHorse::InStateIdle(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
void cHorse::HandleSpeedFromAttachee(float a_Forward, float a_Sideways)
{
super::HandleSpeedFromAttachee(a_Forward * m_Speed, a_Sideways * m_Speed);
if ((m_bIsTame) && (m_bIsSaddled))
{
super::HandleSpeedFromAttachee(a_Forward * m_Speed, a_Sideways * m_Speed);
}
}