Improved horse saddling [SEE DESC]
Now it checks if horse is already saddled, and if it's, you don't lose the saddle. Also, if the horse isn't tammed, you can't saddle it.
This commit is contained in:
parent
2f8a0a8a3a
commit
137ed5a556
@ -105,7 +105,7 @@ void cHorse::OnRightClicked(cPlayer & a_Player)
|
||||
m_Attachee->Detach();
|
||||
}
|
||||
|
||||
if (a_Player.GetEquippedItem().m_ItemType == E_ITEM_SADDLE)
|
||||
if (a_Player.GetEquippedItem().m_ItemType == E_ITEM_SADDLE && !m_bIsSaddled && m_bIsTame)
|
||||
{
|
||||
if (!a_Player.IsGameModeCreative())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user