Created
May 12, 2011 13:12
-
-
Save tst12/968459 to your computer and use it in GitHub Desktop.
sm1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp | |
index 9f14932..8fbd2ba 100644 | |
--- a/src/game/Unit.cpp | |
+++ b/src/game/Unit.cpp | |
@@ -6592,6 +6597,9 @@ void Unit::RemoveGuardian( Pet* pet ) | |
void Unit::RemoveGuardians() | |
{ | |
+ uint64 uG = GetObjectGuid().GetRawValue(); | |
+ uint32 uE = GetEntry(); | |
+ | |
while(!m_guardianPets.empty()) | |
{ | |
uint64 guid = *m_guardianPets.begin(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment