Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Equip command stack overflow (bug #3072) #1875

Merged
merged 2 commits into from
Aug 17, 2018

Conversation

Capostrophic
Copy link
Collaborator

@Capostrophic Capostrophic commented Aug 16, 2018

Bug 3072.

Use the force argument recently added by akortunov for Equip command specifically to decide whether we should run the script in useItem or not. As far as I can tell this still allows the script to run every frame, so you can hear the equip sound, you can't use the inventory, etc. when an item that has a "broken" script is added to the inventory, like in Morrowind.

And when you use the plugin from bug 4556, which is a duplicate of bug 3072, the testring item works as an un-unequippable ring, as it should.

@zinnschlag zinnschlag merged commit ce78a34 into OpenMW:master Aug 17, 2018
zinnschlag added a commit that referenced this pull request Aug 17, 2018
@Capostrophic Capostrophic deleted the equip branch August 17, 2018 08:02
akortunov added a commit to akortunov/openmw that referenced this pull request Sep 23, 2018
akortunov added a commit to akortunov/openmw that referenced this pull request Sep 23, 2018
akortunov added a commit to akortunov/openmw that referenced this pull request Sep 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants