Skip to content

Commit

Permalink
[435] Restore old line (instance bind) in wowarmory_patch.patch (for …
Browse files Browse the repository at this point in the history
…both servers). Thanks to roelv
  • Loading branch information
roelv authored and Shadez committed Dec 30, 2010
1 parent 5aa4ef9 commit 30df552
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion includes/revision_nr.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
define('ARMORY_REVISION', 434);
define('ARMORY_REVISION', 435);
define('DB_VERSION', 'armory_r434');
define('CONFIG_VERSION', '2812201001');
?>
1 change: 1 addition & 0 deletions tools/mangos/wowarmory_patch.patch
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ index cf5b7a6..8a0d189 100644
+ {
((InstanceMap *)m)->PermBindAllPlayers(creditedPlayer);
+ /** World of Warcraft Armory **/
+ ((InstanceMap *)m)->PermBindAllPlayers(creditedPlayer);
+ creditedPlayer->WriteWowArmoryDatabaseLog(3, cVictim->GetCreatureInfo()->Entry); // Difficulty will be defined in Player::WriteWowArmoryDatabaseLog();
+ /** World of Warcraft Armory **/
+ }
Expand Down
1 change: 1 addition & 0 deletions tools/trinity_core/wowarmory_patch.patch
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/U
+ {
+ /** World of Warcraft Armory **/
+ creditedPlayer->WriteWowArmoryDatabaseLog(3, creature->GetCreatureInfo()->Entry);
+ ((InstanceMap *)m)->PermBindAllPlayers(creditedPlayer);
+ /** World of Warcraft Armory **/
+ }
}
Expand Down

1 comment on commit 30df552

@soar
Copy link

@soar soar commented on 30df552 Jan 6, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On Trinity - server craches after applying this patch

Please sign in to comment.