Show
Ignore:
Timestamp:
11/19/08 13:43:40 (17 years ago)
Author:
yumileroy
Message:

[svn] Rewrite canSeeOrDetect function.
Minor change on trigger creatures.
Remove some unused hacks in scripts.

Original author: megamage
Date: 2008-11-06 10:27:58-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Object.cpp

    r174 r178  
    14871487        if(GetTypeId() == TYPEID_UNIT || GetTypeId() == TYPEID_PLAYER) 
    14881488            pCreature->setFaction(((Unit*)this)->getFaction()); 
    1489         pCreature->CastSpell(pCreature, pCreature->m_spells[0], true, 0, 0, GetGUID()); 
     1489        pCreature->CastSpell(pCreature, pCreature->m_spells[0], false, 0, 0, GetGUID()); 
    14901490    } 
    14911491