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

Fixes monkey orbiting breaking the camera #5383

Merged
merged 1 commit into from
Jan 6, 2024

Conversation

SabreML
Copy link
Member

@SabreML SabreML commented Jan 4, 2024

About the pull request

Fixes orbiting a monkey/farwa/stok/etc. locking your camera onto it.

This was happening due to RegisterSignal(src, COMSIG_MOVABLE_MOVED, PROC_REF(observer_move_react)) not being called if the target mob didn't have a HUD, meaning that the client's eye wouldn't be set back to their body when they tried moving away.
I also moved the COMSIG_PARENT_QDELETING one over too so that the same doesn't happen if the target mob is deleted.

(The other signals all seem to be HUD related.)

Explain why it's good for the game

Bug!

Testing Photographs and Procedure

Screenshots & Videos

Before:

Before.1.mp4
Before.2.mp4

After:

After.1.mp4
After.2.mp4

Changelog

🆑
fix: Fixed observing a monkey/farwa/stok/etc. locking the camera onto it.
/:cl:

@github-actions github-actions bot added the Fix Fix one bug, make ten more label Jan 4, 2024
@harryob harryob added this pull request to the merge queue Jan 6, 2024
Merged via the queue into cmss13-devs:master with commit 58e4178 Jan 6, 2024
28 checks passed
cm13-github added a commit that referenced this pull request Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Fix one bug, make ten more
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants