Fixes/cleanups from b026ee7ef8, And misc fixes/crashes.

This commit is contained in:
hondacrx
2021-11-16 19:45:02 -05:00
parent 2b2b0fe076
commit 705a2fe3a1
8 changed files with 49 additions and 28 deletions
+1 -1
View File
@@ -4572,7 +4572,7 @@ namespace Game.Entities
public bool HasCorpse()
{
return _corpseLocation.GetMapId() != 0xFFFFFFFF;
return _corpseLocation != null && _corpseLocation.GetMapId() != 0xFFFFFFFF;
}
public WorldLocation GetCorpseLocation() { return _corpseLocation; }