PlayerCorpse.cpp
In side of PlayerCorpse.cpp there are 5 locations that I found that delete corpses. The other night I changed the "IsEmpty()" function to always return false and then made a new subroutine that told the truth and changed the "Corpse::EndLoot" subroutine to use that one. It appears to work, but a lot more testing needs to be done. Changing the IsEmpty() function could cause problems in other code locations.
Here is one example of a corpse being deleted.
bool Corpse::Save() {
if (IsEmpty()) {
Delete();
return true;
}
|