fix null ref in bounce

This commit is contained in:
Mark Sturgill 2014-02-21 19:04:53 -07:00
parent 0bd09dbeac
commit 041c976ddc

View file

@ -1151,7 +1151,7 @@ namespace Server
{
IEntity parent = bounce.m_Parent;
if (parent.Deleted)
if (parent == null || parent.Deleted)
{
MoveToWorld(bounce.m_WorldLoc, bounce.m_Map);
}