Jump to content

[in 0.12] Miss Modify in [7527][Patch]


Recommended Posts

Posted

diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 704c599..1fbc98a 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -856,7 +856,7 @@ void Player::HandleDrowning()
            uint64 guid = GetGUID();
            uint32 damage = GetMaxHealth() / 5 + urand(0, getLevel()-1);

-            EnvironmentalDamage(guid, DAMAGE_DROWNING,damage);
+            EnvironmentalDamage(DAMAGE_DROWNING,damage);
            m_breathTimer = 2000;
        }
    }
@@ -918,7 +918,7 @@ void Player::HandleLava()

            // if is valid area and is not gamemaster then deal damage
            if ( ValidArea && !isGameMaster() )
-                EnvironmentalDamage(guid, DAMAGE_LAVA, damage);
+                EnvironmentalDamage(DAMAGE_LAVA, damage);

            m_breathTimer = 1*IN_MILISECONDS;
        }

Note : Only in 2.4.3 Tag

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use