Fix comment

ryzomclassic-develop
kaetemi 5 years ago
parent 8daffed6c2
commit 46786a1185

@ -534,7 +534,7 @@ void _log_Character_UpdateSP(const std::string &spName, float spBefore, float sp
NLMISC::CEntityId charId; NLMISC::CEntityId charId;
if (!CharacterDesc.getContextVar_charId(charId)) if (!CharacterDesc.getContextVar_charId(charId))
{ {
// If this bomb is thrown, you need to add a log context (or eventualy a 'noContext'). // If this bomb is thrown, you need to add a log context (or otherwise a 'noContext').
STOP_IF(CharacterDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Character'"); STOP_IF(CharacterDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Character'");
return; return;
} }
@ -571,7 +571,7 @@ void _log_Character_LearnPhrase(const NLMISC::CSheetId &phraseId, const char *_f
NLMISC::CEntityId charId; NLMISC::CEntityId charId;
if (!CharacterDesc.getContextVar_charId(charId)) if (!CharacterDesc.getContextVar_charId(charId))
{ {
// If this bomb is thrown, you need to add a log context (or eventualy a 'noContext'). // If this bomb is thrown, you need to add a log context (or otherwise a 'noContext').
STOP_IF(CharacterDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Character'"); STOP_IF(CharacterDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Character'");
return; return;
} }
@ -604,7 +604,7 @@ void _log_Character_AddKnownBrick(const NLMISC::CSheetId &brickId, const char *_
NLMISC::CEntityId charId; NLMISC::CEntityId charId;
if (!CharacterDesc.getContextVar_charId(charId)) if (!CharacterDesc.getContextVar_charId(charId))
{ {
// If this bomb is thrown, you need to add a log context (or eventualy a 'noContext'). // If this bomb is thrown, you need to add a log context (or otherwise a 'noContext').
STOP_IF(CharacterDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Character'"); STOP_IF(CharacterDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Character'");
return; return;
} }
@ -637,7 +637,7 @@ void _log_Character_RemoveKnownBrick(const NLMISC::CSheetId &brickId, const char
NLMISC::CEntityId charId; NLMISC::CEntityId charId;
if (!CharacterDesc.getContextVar_charId(charId)) if (!CharacterDesc.getContextVar_charId(charId))
{ {
// If this bomb is thrown, you need to add a log context (or eventualy a 'noContext'). // If this bomb is thrown, you need to add a log context (or otherwise a 'noContext').
STOP_IF(CharacterDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Character'"); STOP_IF(CharacterDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Character'");
return; return;
} }

@ -232,7 +232,7 @@ void _log_Command_Exec(const std::string &cmdName, const std::string &cmdArg, co
NLMISC::CEntityId charId; NLMISC::CEntityId charId;
if (!CommandDesc.getContextVar_charId(charId)) if (!CommandDesc.getContextVar_charId(charId))
{ {
// If this bomb is thrown, you need to add a log context (or eventualy a 'noContext'). // If this bomb is thrown, you need to add a log context (or otherwise a 'noContext').
STOP_IF(CommandDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Command'"); STOP_IF(CommandDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Command'");
return; return;
} }
@ -267,7 +267,7 @@ void _log_Command_ExecOnTarget(const NLMISC::CEntityId &targetId, const std::str
NLMISC::CEntityId charId; NLMISC::CEntityId charId;
if (!CommandDesc.getContextVar_charId(charId)) if (!CommandDesc.getContextVar_charId(charId))
{ {
// If this bomb is thrown, you need to add a log context (or eventualy a 'noContext'). // If this bomb is thrown, you need to add a log context (or otherwise a 'noContext').
STOP_IF(CommandDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Command'"); STOP_IF(CommandDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Command'");
return; return;
} }

@ -1249,7 +1249,7 @@ void _log_Item_Create(INVENTORIES::TItemId itemId, const NLMISC::CSheetId &sheet
NLMISC::CEntityId charId; NLMISC::CEntityId charId;
if (!ItemDesc.getContextVar_charId(charId)) if (!ItemDesc.getContextVar_charId(charId))
{ {
// If this bomb is thrown, you need to add a log context (or eventualy a 'noContext'). // If this bomb is thrown, you need to add a log context (or otherwise a 'noContext').
STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'"); STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'");
return; return;
} }
@ -1288,7 +1288,7 @@ void _log_Item_UpdateQuantity(INVENTORIES::TItemId itemId, uint32 quantity, uint
NLMISC::CEntityId charId; NLMISC::CEntityId charId;
if (!ItemDesc.getContextVar_charId(charId)) if (!ItemDesc.getContextVar_charId(charId))
{ {
// If this bomb is thrown, you need to add a log context (or eventualy a 'noContext'). // If this bomb is thrown, you need to add a log context (or otherwise a 'noContext').
STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'"); STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'");
return; return;
} }
@ -1325,7 +1325,7 @@ void _log_Item_Move(INVENTORIES::TItemId itemId, INVENTORIES::TInventory srcInve
NLMISC::CEntityId charId; NLMISC::CEntityId charId;
if (!ItemDesc.getContextVar_charId(charId)) if (!ItemDesc.getContextVar_charId(charId))
{ {
// If this bomb is thrown, you need to add a log context (or eventualy a 'noContext'). // If this bomb is thrown, you need to add a log context (or otherwise a 'noContext').
STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'"); STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'");
return; return;
} }
@ -1362,7 +1362,7 @@ void _log_Item_PutInSaleStore(INVENTORIES::TItemId itemId, const char *_filename
NLMISC::CEntityId charId; NLMISC::CEntityId charId;
if (!ItemDesc.getContextVar_charId(charId)) if (!ItemDesc.getContextVar_charId(charId))
{ {
// If this bomb is thrown, you need to add a log context (or eventualy a 'noContext'). // If this bomb is thrown, you need to add a log context (or otherwise a 'noContext').
STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'"); STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'");
return; return;
} }
@ -1395,7 +1395,7 @@ void _log_Item_RemoveFromSaleStore(INVENTORIES::TItemId itemId, const char *_fil
NLMISC::CEntityId charId; NLMISC::CEntityId charId;
if (!ItemDesc.getContextVar_charId(charId)) if (!ItemDesc.getContextVar_charId(charId))
{ {
// If this bomb is thrown, you need to add a log context (or eventualy a 'noContext'). // If this bomb is thrown, you need to add a log context (or otherwise a 'noContext').
STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'"); STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'");
return; return;
} }
@ -1428,7 +1428,7 @@ void _log_Item_Delete(INVENTORIES::TItemId itemId, const NLMISC::CSheetId &sheet
NLMISC::CEntityId charId; NLMISC::CEntityId charId;
if (!ItemDesc.getContextVar_charId(charId)) if (!ItemDesc.getContextVar_charId(charId))
{ {
// If this bomb is thrown, you need to add a log context (or eventualy a 'noContext'). // If this bomb is thrown, you need to add a log context (or otherwise a 'noContext').
STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'"); STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'");
return; return;
} }
@ -1467,7 +1467,7 @@ void _log_Item_FailedAddBoughtItem(INVENTORIES::TItemId itemId, INVENTORIES::TIn
NLMISC::CEntityId charId; NLMISC::CEntityId charId;
if (!ItemDesc.getContextVar_charId(charId)) if (!ItemDesc.getContextVar_charId(charId))
{ {
// If this bomb is thrown, you need to add a log context (or eventualy a 'noContext'). // If this bomb is thrown, you need to add a log context (or otherwise a 'noContext').
STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'"); STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'");
return; return;
} }
@ -1502,7 +1502,7 @@ void _log_Item_Money(uint64 moneyBefore, uint64 moneyAfter, const char *_filenam
NLMISC::CEntityId charId; NLMISC::CEntityId charId;
if (!ItemDesc.getContextVar_charId(charId)) if (!ItemDesc.getContextVar_charId(charId))
{ {
// If this bomb is thrown, you need to add a log context (or eventualy a 'noContext'). // If this bomb is thrown, you need to add a log context (or otherwise a 'noContext').
STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'"); STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'");
return; return;
} }
@ -1537,7 +1537,7 @@ void _log_Item_ExchangeWithChar(const char *_filename_, uint _lineNo_)
NLMISC::CEntityId validatorCharId; NLMISC::CEntityId validatorCharId;
if (!ItemDesc.getContextVar_validatorCharId(validatorCharId)) if (!ItemDesc.getContextVar_validatorCharId(validatorCharId))
{ {
// If this bomb is thrown, you need to add a log context (or eventualy a 'noContext'). // If this bomb is thrown, you need to add a log context (or otherwise a 'noContext').
STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'"); STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'");
return; return;
} }
@ -1549,7 +1549,7 @@ void _log_Item_ExchangeWithChar(const char *_filename_, uint _lineNo_)
NLMISC::CEntityId otherEntityId; NLMISC::CEntityId otherEntityId;
if (!ItemDesc.getContextVar_otherEntityId(otherEntityId)) if (!ItemDesc.getContextVar_otherEntityId(otherEntityId))
{ {
// If this bomb is thrown, you need to add a log context (or eventualy a 'noContext'). // If this bomb is thrown, you need to add a log context (or otherwise a 'noContext').
STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'"); STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'");
return; return;
} }
@ -1580,7 +1580,7 @@ void _log_Item_ExchangeWithNPC(const char *_filename_, uint _lineNo_)
NLMISC::CEntityId validatorCharId; NLMISC::CEntityId validatorCharId;
if (!ItemDesc.getContextVar_validatorCharId(validatorCharId)) if (!ItemDesc.getContextVar_validatorCharId(validatorCharId))
{ {
// If this bomb is thrown, you need to add a log context (or eventualy a 'noContext'). // If this bomb is thrown, you need to add a log context (or otherwise a 'noContext').
STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'"); STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'");
return; return;
} }
@ -1592,7 +1592,7 @@ void _log_Item_ExchangeWithNPC(const char *_filename_, uint _lineNo_)
NLMISC::CEntityId otherEntityId; NLMISC::CEntityId otherEntityId;
if (!ItemDesc.getContextVar_otherEntityId(otherEntityId)) if (!ItemDesc.getContextVar_otherEntityId(otherEntityId))
{ {
// If this bomb is thrown, you need to add a log context (or eventualy a 'noContext'). // If this bomb is thrown, you need to add a log context (or otherwise a 'noContext').
STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'"); STOP_IF(ItemDesc.getNoContextCount() == 0, _filename_<<"("<<_lineNo_<<") : Missing log context for log 'Item'");
return; return;
} }

Loading…
Cancel
Save