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

Sunstaff issue #66

Open
tallustelija opened this issue Feb 16, 2024 · 5 comments
Open

Sunstaff issue #66

tallustelija opened this issue Feb 16, 2024 · 5 comments

Comments

@tallustelija
Copy link

void sunstaff_deselect (void)
{
//go to ready loop, not relaxed?
self.wfs = advanceweaponframe($select14,$select1);
self.th_weapon=sunstaff_deselect;
if(self.wfs==WF_CYCLE_WRAPPED)
W_SetCurrentAmmo();
}

There's a visual bug with the sunstaff that dates back to the original HexenC releases. If sunstaff is in firing animation, fire key is released and weapon is changed quickly, the EF_BRIGHTLIGHT effect will stay on indefinitely.

Adding

self.effects(-)EF_BRIGHTLIGHT;

on line 231 of sunstaff.hc seems to fix this. I haven't noticed side effects. See attached demos.
sunstaff_bug.zip

@sezero
Copy link
Owner

sezero commented Feb 16, 2024

I can see it in the demos, but I can't reproduce the thing: How do you so quickly switch to a different weapon to trigger this?

@sezero
Copy link
Owner

sezero commented Feb 16, 2024

Never mind, I did manage to reproduce using mouse scroll to switch weapons.

@sezero
Copy link
Owner

sezero commented Feb 16, 2024

Don't know whether I want to fix it, though. I'd like to make a release soon (I hope.. after 6 years...)

@tallustelija
Copy link
Author

Alright, yeah it isn't a high priority bug.

Works as a free torchlight effect which is nice :)

Good luck with the next version release!

@sezero
Copy link
Owner

sezero commented Feb 17, 2024

Alright, yeah it isn't a high priority bug.

Indeed

Works as a free torchlight effect which is nice :)

😄

Good luck with the next version release!

Thanks

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

No branches or pull requests

2 participants