Add spaces after commas

This commit is contained in:
leak
2011-04-29 20:47:02 +02:00
parent 01a79947d5
commit 1003f30448
645 changed files with 9439 additions and 9439 deletions
+10 -10
View File
@@ -80,10 +80,10 @@ public:
void SendItem(Unit* receiver)
{
if (CAST_PLR(receiver)->HasItemCount(11169,1,false) &&
CAST_PLR(receiver)->HasItemCount(11172,11,false) &&
CAST_PLR(receiver)->HasItemCount(11173,1,false) &&
!CAST_PLR(receiver)->HasItemCount(11522,1,true))
if (CAST_PLR(receiver)->HasItemCount(11169, 1, false) &&
CAST_PLR(receiver)->HasItemCount(11172, 11, false) &&
CAST_PLR(receiver)->HasItemCount(11173, 1, false) &&
!CAST_PLR(receiver)->HasItemCount(11522, 1, true))
{
ItemPosCountVec dest;
uint8 msg = CAST_PLR(receiver)->CanStoreNewItem(NULL_BAG, NULL_SLOT, dest, 11522, 1, false);
@@ -282,7 +282,7 @@ public:
bool OnQuestAccept(Player* pPlayer, Creature* /*pCreature*/, Quest const *quest)
{
if (quest->GetQuestId() == 10279) //Quest: To The Master's Lair
pPlayer->CastSpell(pPlayer,34891,true); //(Flight through Caverns)
pPlayer->CastSpell(pPlayer, 34891, true); //(Flight through Caverns)
return false;
}
@@ -291,7 +291,7 @@ public:
{
pPlayer->PlayerTalkClass->ClearMenus();
if (uiAction == GOSSIP_ACTION_INFO_DEF + 1)
pPlayer->CastSpell(pPlayer,34891,true); //(Flight through Caverns)
pPlayer->CastSpell(pPlayer, 34891, true); //(Flight through Caverns)
return true;
}
@@ -409,7 +409,7 @@ public:
{
pCreature->setFaction(113);
pCreature->SetFullHealth();
pCreature->SetUInt32Value(UNIT_FIELD_BYTES_1,0);
pCreature->SetUInt32Value(UNIT_FIELD_BYTES_1, 0);
pCreature->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_OOC_NOT_ATTACKABLE);
DoScriptText(SAY_OOX_START, pCreature);
@@ -466,7 +466,7 @@ public:
void EnterCombat(Unit* /*who*/)
{
DoScriptText(RAND(SAY_OOX_AGGRO1,SAY_OOX_AGGRO2), me);
DoScriptText(RAND(SAY_OOX_AGGRO1, SAY_OOX_AGGRO2), me);
}
void JustSummoned(Creature* summoned)
@@ -626,8 +626,8 @@ public:
{
m_uiCheckSpeechTimer = 5000;
if (urand(0,9) > 8)
DoScriptText(RAND(SAY_TOOG_THIRST,SAY_TOOG_WORRIED), me);
if (urand(0, 9) > 8)
DoScriptText(RAND(SAY_TOOG_THIRST, SAY_TOOG_WORRIED), me);
}
else
m_uiCheckSpeechTimer -= uiDiff;