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

Bug: Mask polymorphs do not handle light emitting monsters #253

Open
elunna opened this issue Dec 14, 2022 · 0 comments
Open

Bug: Mask polymorphs do not handle light emitting monsters #253

elunna opened this issue Dec 14, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@elunna
Copy link

elunna commented Dec 14, 2022

apply_mask directly calls polymon, usually the player poly behavior is handled in polyself - and the light source of a new poly form is handled in polyself (but it oursources the actual poly to polymon().

In the case of masks we don't get the light handling - resulting in a "del_light_source: not found type=1, id=55c64cd2f9b0" when the mask poly wears off.

This was originally found here: elunna/hackem#19
For my fix see this commit: elunna/hackem@bb72213

I just copied the light source handling to apply_mask.

@elunna elunna added the bug Something isn't working label Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant