mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[9564] Remove some trailing whitespace and add comment for last commit.
Signed-off-by: hunuza <hunuza@gmail.com>
This commit is contained in:
parent
efe0cde815
commit
5d84477f7f
10 changed files with 21 additions and 20 deletions
|
|
@ -1676,7 +1676,7 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
if (m_caster->GetTypeId()!=TYPEID_PLAYER)
|
||||
return;
|
||||
|
||||
// checked in create item check, avoid unexpected
|
||||
// checked in create item check, avoid unexpected
|
||||
if (Item* item = ((Player*)m_caster)->GetItemByLimitedCategory(ITEM_LIMIT_CATEGORY_MANA_GEM))
|
||||
if (item->HasMaxCharges())
|
||||
return;
|
||||
|
|
@ -3892,7 +3892,7 @@ void Spell::DoSummon(SpellEffectIndex eff_idx)
|
|||
spawnCreature->InitStatsForLevel(level, m_caster);
|
||||
|
||||
spawnCreature->GetCharmInfo()->SetPetNumber(pet_number, false);
|
||||
|
||||
|
||||
spawnCreature->UpdateWalkMode(m_caster);
|
||||
|
||||
spawnCreature->AIM_Initialize();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue