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

[svn] * Fixed startup error flood if creature model id is 0
* Fixed totems using proper model ids broken after recent change
* Set pet grid activity state to that of caster upon summoning
* Fix a possible crash in ObjectAccessor?
note to self: don't commit anything without 3 days testing. ever. after this one ofc.

Original author: w12x
Date: 2008-10-27 15:28:04-05:00

Files:
1 modified

Legend:

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

    r122 r126  
    31093109    uint32 level = m_caster->getLevel(); 
    31103110    Pet* spawnCreature = new Pet(SUMMON_PET); 
     3111    spawnCreature->setActive(m_caster->isActive()); 
    31113112 
    31123113    if(spawnCreature->LoadPetFromDB(m_caster,pet_entry)) 
     
    35443545    { 
    35453546        Pet* spawnCreature = new Pet(GUARDIAN_PET); 
     3547        spawnCreature->setActive(m_caster->isActive()); 
    35463548 
    35473549        Map *map = m_caster->GetMap(); 
     
    39383940 
    39393941    Pet* NewSummon = new Pet; 
     3942    NewSummon->setActive(m_caster->isActive()); 
    39403943 
    39413944    // petentry==0 for hunter "call pet" (current pet summoned if any)