[8311] Prevent multiline fake messages in chat. Author: horogandris

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-06 17:42:44 -05:00
parent b35e7ac28d
commit e8556b879d
2 changed files with 8 additions and 8 deletions
+7 -7
View File
@@ -6457,13 +6457,6 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
{
switch(dummySpell->Id)
{
// Shaman T8 Elemental 4P Bonus
case 64928:
{
basepoints0 = int32( triggerAmount * damage / 100 );
triggered_spell_id = 64930;
break;
}
// Improved fire nova totem
case 16544:
{
@@ -6643,6 +6636,13 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
triggered_spell_id = 58879;
break;
}
// Shaman T8 Elemental 4P Bonus
case 64928:
{
basepoints0 = int32( triggerAmount * damage / 100 );
triggered_spell_id = 64930; // Electrified
break;
}
}
// Storm, Earth and Fire
if (dummySpell->SpellIconID == 3063)
+1 -1
View File
@@ -131,7 +131,7 @@ Tokens StrSplit(const std::string &src, const std::string &sep)
void stripLineInvisibleChars(std::string &str)
{
static std::string invChars = " \t\7";
static std::string invChars = " \t\7\n";
size_t wpos = 0;