[Cleanup] Remove can_corpse_be_rezzed from corpse.h (#3077)

# Notes
- This is unused.
This commit is contained in:
Alex King 2023-03-16 20:47:25 -04:00 committed by GitHub
parent f7c4f1ff75
commit 3f1848b01a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -362,7 +362,6 @@ Corpse::Corpse(Client* client, int32 in_rezexp) : Mob (
is_corpse_changed = true; is_corpse_changed = true;
rez_experience = in_rezexp; rez_experience = in_rezexp;
can_corpse_be_rezzed = true;
is_player_corpse = true; is_player_corpse = true;
is_locked = false; is_locked = false;
being_looted_by = 0xFFFFFFFF; being_looted_by = 0xFFFFFFFF;

View File

@ -172,7 +172,6 @@ private:
uint32 being_looted_by; /* Determines what the corpse is being looted by internally for logic */ uint32 being_looted_by; /* Determines what the corpse is being looted by internally for logic */
uint32 rez_experience; /* Amount of experience that the corpse would rez for */ uint32 rez_experience; /* Amount of experience that the corpse would rez for */
bool rez; bool rez;
bool can_corpse_be_rezzed; /* Bool declaring whether or not a corpse can be rezzed */
bool become_npc; bool become_npc;
int allowed_looters[MAX_LOOTERS]; /* People allowed to loot the corpse, character id */ int allowed_looters[MAX_LOOTERS]; /* People allowed to loot the corpse, character id */
Timer corpse_decay_timer; /* The amount of time in millseconds in which a corpse will take to decay (Depop/Poof) */ Timer corpse_decay_timer; /* The amount of time in millseconds in which a corpse will take to decay (Depop/Poof) */