-
Notifications
You must be signed in to change notification settings - Fork 490
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable using self-resurrection spells on 1.5 client (#2182)
* Correct comment position * Enable self-resurrection spells for 1.5 client Fixes build errors related to self-resurrection and enables self- resurrection to work on the 1.5 client, per the 1.6 patch notes. > Self-resurrection spells show their name on the button in the release > spirit dialog. The update field PLAYER_SELF_RES_SPELL did not exist in patch 1.5, and so the ID of the self-resurrection spell was not sent to the client. Decompiled 1.5 client code shows that it instead checks the player flag 0x1000 (currently PLAYER_FLAGS_PARTIAL_PLAY_TIME) to determine whether the player can self-resurrect, meaning this flag was repurposed on or after patch 1.6. As this means we cannot store the spell ID in the player's update fields, for these clients we instead store the ID purely server-side to read after the player dies.
- Loading branch information
1 parent
bc37c02
commit 8e35ae2
Showing
4 changed files
with
72 additions
and
7 deletions.
There are no files selected for viewing
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
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
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
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