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

Crash fix when item is disabled before it casts spell. #1143

Merged
1 commit merged into from Dec 4, 2016

Conversation

kurnevsky
Copy link
Contributor

@kurnevsky kurnevsky commented Dec 3, 2016

Madd leveler has item with such script:

Begin Madd_Leveler_Effect
Disable
Short doOnce
If ( doOnce == 0 )
Set doOnce To 1
Cast "mlEffectSpell" Player
EndIf
End

If add this item with PlaceAtPC openmw will crash.

@psi29a
Copy link
Member

psi29a commented Dec 4, 2016

Nice find!

@ghost ghost merged commit 250c862 into OpenMW:master Dec 4, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants