mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 17:46:36 +00:00
Changed ItemUseType enumeration to ItemInstTypes enumeration - naming conflicted with definition
This commit is contained in:
+1
-1
@@ -218,7 +218,7 @@ Object::Object(const char *model, float x, float y, float z, float heading, uint
|
||||
user = nullptr;
|
||||
last_user = nullptr;
|
||||
ItemInst* inst = nullptr;
|
||||
inst = new ItemInst(ItemUseWorldContainer);
|
||||
inst = new ItemInst(ItemInstWorldContainer);
|
||||
|
||||
// Initialize members
|
||||
m_id = 0;
|
||||
|
||||
+2
-2
@@ -270,7 +270,7 @@ bool Zone::LoadZoneObjects() {
|
||||
//tradeskill containers do not have an itemid of 0... at least what I am seeing
|
||||
if (itemid == 0) {
|
||||
// Generic tradeskill container
|
||||
inst = new ItemInst(ItemUseWorldContainer);
|
||||
inst = new ItemInst(ItemInstWorldContainer);
|
||||
}
|
||||
else {
|
||||
// Groundspawn object
|
||||
@@ -279,7 +279,7 @@ bool Zone::LoadZoneObjects() {
|
||||
|
||||
//Father Nitwit's fix... not perfect...
|
||||
if(inst == nullptr && type != OT_DROPPEDITEM) {
|
||||
inst = new ItemInst(ItemUseWorldContainer);
|
||||
inst = new ItemInst(ItemInstWorldContainer);
|
||||
}
|
||||
|
||||
// Load child objects if container
|
||||
|
||||
Reference in New Issue
Block a user