mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-09 22:20:24 +00:00
[Cleanup] Remove unused methods in zone/client.cpp and zone/client.h (#3312)
* [Cleanup] Remove unused methods in zone/client.cpp and zone/client.h # Notes - Remove `CheckAccess()` in `zone/client.cpp`. - Remove `CheckAccess()` in `zone/client.h`. - Remove `CheckQuests()` in `zone/client.h`. - Remove `MakeCorpse()` in `zone/client.h`. - Remove `HPTick()` in `zone/client.h`. - These methods are unused. * Update client.h
This commit is contained in:
@@ -2783,13 +2783,6 @@ void Client::GMKill() {
|
||||
safe_delete(outapp);
|
||||
}
|
||||
|
||||
bool Client::CheckAccess(int16 iDBLevel, int16 iDefaultLevel) {
|
||||
if ((admin >= iDBLevel) || (iDBLevel == AccountStatus::Max && admin >= iDefaultLevel))
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
void Client::MemorizeSpell(uint32 slot,uint32 spellid,uint32 scribing, uint32 reduction){
|
||||
if (slot < 0 || slot >= EQ::spells::DynamicLookup(ClientVersion(), GetGM())->SpellbookSize)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user