Skip to content

Instantly share code, notes, and snippets.

@Raydor
Created April 2, 2013 10:12
Show Gist options
  • Save Raydor/5291223 to your computer and use it in GitHub Desktop.
Save Raydor/5291223 to your computer and use it in GitHub Desktop.
Al cambiar un jugador de facción, no pierde los equipos de arenas.
--- a/src/server/game/Server/Protocol/Handlers/CharacterHandler.cpp Thu Oct 11 00:29:46 2012 +0300
+++ b/src/server/game/Server/Protocol/Handlers/CharacterHandler.cpp Sat Oct 20 14:05:03 2012 +0200
@@ -1809,7 +1809,8 @@
}
// Leave Arena Teams
- Player::LeaveAllArenaTeams(guid);
+ //Player::LeaveAllArenaTeams(guid); //Custom no borra los equipos de arena al cambiar de facción
+
// Reset homebind and position
PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_DEL_PLAYER_HOMEBIND);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment