[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;
rez_experience = in_rezexp;
can_corpse_be_rezzed = true;
is_player_corpse = true;
is_locked = false;
being_looted_by = 0xFFFFFFFF;

View File

@ -54,8 +54,8 @@ class Corpse : public Mob {
virtual bool Death(Mob* killerMob, int64 damage, uint16 spell_id, EQ::skills::SkillType attack_skill) { return true; }
virtual void Damage(Mob* from, int64 damage, uint16 spell_id, EQ::skills::SkillType attack_skill, bool avoidable = true, int8 buffslot = -1, bool iBuffTic = false, eSpecialAttacks special = eSpecialAttacks::None) { return; }
bool Attack(Mob* other, int Hand = EQ::invslot::slotPrimary, bool FromRiposte = false, bool IsStrikethrough = true,
bool IsFromSpell = false, ExtraAttackOptions *opts = nullptr) override {
return false;
bool IsFromSpell = false, ExtraAttackOptions *opts = nullptr) override {
return false;
}
virtual bool HasRaid() { return false; }
virtual bool HasGroup() { return false; }
@ -172,7 +172,6 @@ private:
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 */
bool rez;
bool can_corpse_be_rezzed; /* Bool declaring whether or not a corpse can be rezzed */
bool become_npc;
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) */