Fixed a bug where you could ride horses without any tack.

This commit is contained in:
SilicaPi 2021-02-02 18:55:53 +13:00
parent 3be40efc5e
commit 435ca1b17c
5 changed files with 11 additions and 1 deletions

View file

@ -153,7 +153,7 @@ namespace HISP.Game.Horse
private int getOffsetFrom(Item.ItemInformation tackPeice)
{
int offsetBy = 0;
foreach (Item.Effects effect in baseHorse.Equipment.Bridle.Effects)
foreach (Item.Effects effect in tackPeice.Effects)
{
string effects = effect.EffectsWhat;
switch (effects)