[Cleanup] Cleanup Object Type Code (#4375)

* [Cleanup] Cleanup Object Type Code

* Move to object.cpp/object.h
This commit is contained in:
Alex King
2024-06-14 12:58:59 -04:00
committed by GitHub
parent 9cebba5911
commit 0b2493beb8
8 changed files with 211 additions and 147 deletions
+2 -2
View File
@@ -54,8 +54,8 @@ void ShowRecipe(Client *c, const Seperator *sep)
e.iscontainer > 0 ? " (Container)" : "",
(
e.item_id > 1000 ?
database.CreateItemLink(e.item_id) :
EQ::constants::GetObjectTypeName(e.item_id)
database.CreateItemLink(static_cast<uint32>(e.item_id)) :
ObjectType::GetName(static_cast<uint32>(e.item_id))
),
(
can_summon_items && e.item_id > 1000 ?