removed unnecessary comments

This commit is contained in:
ricardocampos23
2014-04-19 08:45:33 +01:00
parent 6a3ee3b9d6
commit 2f772e5e91
6 changed files with 4 additions and 14 deletions
+1 -3
View File
@@ -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!
+1 -3
View File
@@ -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!
+1 -3
View File
@@ -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!
+1 -3
View File
@@ -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!