fix crash

This commit is contained in:
Bluzume 2021-11-03 23:15:48 -04:00
parent 9272d71ca7
commit 6cec9249ab
2 changed files with 63 additions and 60 deletions

View file

@ -1 +0,0 @@
<Replaced with current git HEAD at compile time>

View file

@ -1347,6 +1347,8 @@ namespace HISP.Server
if (World.InSpecialTile(sender.LoggedinUser.X, sender.LoggedinUser.Y))
{
World.SpecialTile tile = World.GetSpecialTile(sender.LoggedinUser.X, sender.LoggedinUser.Y);
if (tile.Code != null)
{
if (tile.Code.StartsWith("TRAINER-"))
{
if (trainHorseInst.TrainTimer > 0)
@ -1415,6 +1417,8 @@ namespace HISP.Server
}
}
}
}
break;
}