[Cleanup] Cleanup magic numbers (#2662)

* [Cleanup] Cleanup magic numbers

* renamed RACE_NODE
This commit is contained in:
Aeadoin
2022-12-20 11:31:42 -05:00
committed by GitHub
parent ed6194ad19
commit 900e1aecf6
6 changed files with 43 additions and 27 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ void command_showzonepoints(Client *c, const Seperator *sep)
auto &mob_list = entity_list.GetMobList();
for (auto itr : mob_list) {
Mob *mob = itr.second;
if (mob->IsNPC() && mob->GetRace() == 2254) {
if (mob->IsNPC() && mob->GetRace() == RACE_NODE_2254) {
mob->Depop();
}
}