mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-09 07:42:22 +00:00
removed unnecessary comments
This commit is contained in:
parent
6a3ee3b9d6
commit
2f772e5e91
@ -4926,9 +4926,7 @@ char* SerializeItem(const ItemInst *inst, int16 slot_id_in, uint32 *length, uint
|
||||
ss.write((const char*)&null_term, sizeof(uint8));
|
||||
}
|
||||
|
||||
// Moofta: if the item has an aug of type 20 (ornamentation) then we use the ID file of that when serializing.
|
||||
// the only thing we should probably worry about is generating a wear change packet to all cl;ients in zone if someone adds a type 20 aug.
|
||||
if (RuleB(Inventory,UseAugOrnamentations) && inst && inst->HasOrnamentation()) //instance is not null and does have an ornament aug (slot 20)
|
||||
if (RuleB(Inventory,UseAugOrnamentations) && inst && inst->HasOrnamentation())
|
||||
{
|
||||
ItemInst* ornamentation = inst->GetOrnamentation();
|
||||
if (ornamentation) //paranoid!
|
||||
|
||||
@ -3119,9 +3119,7 @@ char* SerializeItem(const ItemInst *inst, int16 slot_id_in, uint32 *length, uint
|
||||
ss.write((const char*)&null_term, sizeof(uint8));
|
||||
}
|
||||
|
||||
// Moofta: if the item has an aug of type 20 (ornamentation) then we use the ID file of that when serializing.
|
||||
// the only thing we should probably worry about is generating a wear change packet to all cl;ients in zone if someone adds a type 20 aug.
|
||||
if (RuleB(Inventory,UseAugOrnamentations) && inst && inst->HasOrnamentation()) //instance is not null and does have an ornament aug (slot 20)
|
||||
if (RuleB(Inventory,UseAugOrnamentations) && inst && inst->HasOrnamentation())
|
||||
{
|
||||
ItemInst* ornamentation = inst->GetOrnamentation();
|
||||
if (ornamentation) //paranoid!
|
||||
|
||||
@ -2437,9 +2437,7 @@ char* SerializeItem(const ItemInst *inst, int16 slot_id_in, uint32 *length, uint
|
||||
ss.write((const char*)&null_term, sizeof(uint8));
|
||||
}
|
||||
|
||||
// Moofta: if the item has an aug of type 20/524288 (ornamentation) then we use the ID file of that when serializing.
|
||||
// the only thing we should probably worry about is generating a wear change packet to all cl;ients in zone if someone adds a type 20 aug.
|
||||
if (RuleB(Inventory,UseAugOrnamentations) && inst && inst->HasOrnamentation()) //instance is not null and does have an ornament aug (slot 20)
|
||||
if (RuleB(Inventory,UseAugOrnamentations) && inst && inst->HasOrnamentation())
|
||||
{
|
||||
ItemInst* ornamentation = inst->GetOrnamentation();
|
||||
if (ornamentation) //paranoid!
|
||||
|
||||
@ -3530,9 +3530,7 @@ char* SerializeItem(const ItemInst *inst, int16 slot_id_in, uint32 *length, uint
|
||||
ss.write((const char*)&null_term, sizeof(uint8));
|
||||
}
|
||||
|
||||
// Moofta: if the item has an aug of type 20 (ornamentation) then we use the ID file of that when serializing.
|
||||
// the only thing we should probably worry about is generating a wear change packet to all clients in zone if someone adds a type 20 aug.
|
||||
if (RuleB(Inventory,UseAugOrnamentations) && inst && inst->HasOrnamentation()) //instance is not null and does have an ornament aug (slot 20)
|
||||
if (RuleB(Inventory,UseAugOrnamentations) && inst && inst->HasOrnamentation())
|
||||
{
|
||||
ItemInst* ornamentation = inst->GetOrnamentation();
|
||||
if (ornamentation) //paranoid!
|
||||
|
||||
@ -4567,7 +4567,6 @@ void Bot::SetLevel(uint8 in_level, bool command) {
|
||||
|
||||
int32 Bot::GetEquipmentMaterial(uint8 material_slot) const
|
||||
{
|
||||
// Moofta: Only supporting primary and secondary. next stage is heros forge. which could be any!
|
||||
if // for primary and secondary we need the model, not the material
|
||||
(
|
||||
material_slot == MaterialPrimary ||
|
||||
|
||||
@ -1889,7 +1889,6 @@ void Client::DyeArmor(DyeStruct* dye){
|
||||
|
||||
int32 Client::GetEquipmentMaterial(uint8 material_slot) const
|
||||
{
|
||||
// Moofta: Only supporting primary and secondary. next stage is heros forge. which could be any!
|
||||
if // for primary and secondary we need the model, not the material
|
||||
(
|
||||
material_slot == MaterialPrimary ||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user