Fix: Force rogues not to steal stuff during charcreation - it stole a double set of startingweapons intead of a single set (Thanks to BioHazard for the note)

--HG--
branch : trunk
This commit is contained in:
click
2010-05-04 20:54:14 +02:00
parent 6fba13410c
commit 7df73e7705

View File

@@ -782,12 +782,6 @@ bool Player::Create(uint32 guidlow, const std::string& name, uint8 race, uint8 c
if (iProto->Stackable < count)
count = iProto->Stackable;
}
// special amount for daggers
else if (iProto->Class == ITEM_CLASS_WEAPON && iProto->SubClass == ITEM_SUBCLASS_WEAPON_DAGGER)
{
count = 2; // will placed to 2 slots
}
StoreNewItemInBestSlots(item_id, count);
}
}