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

FreeCam: Hide Disable Movement on unsupported games #1123

Merged
merged 3 commits into from
Nov 10, 2024

Conversation

illusion0001
Copy link
Contributor

@illusion0001 illusion0001 commented Sep 16, 2024

technically it only exists in re8

#ifdef RE8
const auto player = m_props_manager->player;
if (player != nullptr && player->transform != nullptr && player->transform == transform) {
if (m_disable_movement->value() || m_was_disabled) {
player->shouldUpdate = !m_disable_movement->value();
m_was_disabled = !player->shouldUpdate;
}
}
#endif

@@ -49,7 +49,7 @@ void FreeCam::on_draw_ui() {
ImGui::SameLine();
m_lock_camera->draw("Lock Position");

#ifndef SF6
#if !defined(SF6) || !defined(RE8)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It exists in RE2, RE3, and RE8.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Copy link
Owner

@praydog praydog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to include RE2, RE3.

@praydog praydog changed the title FreeCam: Hide Disable Movement on non RE8 FreeCam: Hide Disable Movement on unsupported games Nov 10, 2024
@praydog praydog merged commit 99d0dfb into praydog:master Nov 10, 2024
13 checks passed
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