mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-12 16:09:48 +12:00
fix crash
This commit is contained in:
parent
9272d71ca7
commit
6cec9249ab
2 changed files with 63 additions and 60 deletions
|
@ -1 +0,0 @@
|
||||||
<Replaced with current git HEAD at compile time>
|
|
|
@ -1347,6 +1347,8 @@ namespace HISP.Server
|
||||||
if (World.InSpecialTile(sender.LoggedinUser.X, sender.LoggedinUser.Y))
|
if (World.InSpecialTile(sender.LoggedinUser.X, sender.LoggedinUser.Y))
|
||||||
{
|
{
|
||||||
World.SpecialTile tile = World.GetSpecialTile(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 (tile.Code.StartsWith("TRAINER-"))
|
||||||
{
|
{
|
||||||
if (trainHorseInst.TrainTimer > 0)
|
if (trainHorseInst.TrainTimer > 0)
|
||||||
|
@ -1415,6 +1417,8 @@ namespace HISP.Server
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue