Core/Misc: Fix null error and not finding transports

This commit is contained in:
hondacrx
2018-02-16 15:04:24 -05:00
parent 5fd136f704
commit 8c142d6077
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -975,7 +975,7 @@ namespace Game.AI
bool mForcedPaused;
uint mInvincibilityHpLevel;
WaypointPath _path;
WaypointPath _path = new WaypointPath();
uint mDespawnTime;
uint mRespawnTime;
uint mDespawnState;
+1 -1
View File
@@ -3094,7 +3094,7 @@ namespace Game.Maps
public GameObject GetGameObject(ObjectGuid guid)
{
if (!guid.IsGameObject())
if (!guid.IsAnyTypeGameObject())
return null;
return (GameObject)_objectsStore.LookupByKey(guid);