forked from schlangster/skyui
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The reported bug goes as follows: - Craft one "potion of restore magika" - Drop the potion from the inventory or grab it from the spellwheel - Drink the potion - Game crashes After some tinkering, it's found that Papyrus' "OnItemAdded" handler might pass through a base item that is NULL, though documentation for "OnItemAdded" doesn't suggest the base item *can* be NULL. In any case, verifying the TESForm* before dereferencing solved the issue.
- Loading branch information
Showing
2 changed files
with
95 additions
and
14 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