Skip to content

Commit

Permalink
Fix. Crash and Gossip Menu (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
HKevinH authored Aug 14, 2024
1 parent f1b6fc5 commit 8020c1b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/sql/updates/pending_db_world/rev_1723527950527197400.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

UPDATE creature_template
SET gossip_menu_id = 1291
WHERE entry = 1247;
3 changes: 3 additions & 0 deletions src/server/game/Entities/Unit/Unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,9 @@ bool Unit::HasBreakableByDamageCrowdControlAura(Unit* excludeCasterChannel) cons
/*static*/ uint32 Unit::DealDamage(
Unit* attacker, Unit* victim, uint32 damage, CleanDamage const* cleanDamage, DamageEffectType damagetype, SpellSchoolMask damageSchoolMask, SpellInfo const* spellProto, bool durabilityLoss)
{
if (!attacker)
return false;

// Sparring Checks
if (Creature* target = victim->ToCreature())
{
Expand Down

0 comments on commit 8020c1b

Please sign in to comment.