Skip to content

Commit

Permalink
v0.15.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ceejbot committed Dec 29, 2023
1 parent 47b4d22 commit 3f7daea
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if(PROJECT_SOURCE_DIR STREQUAL PROJECT_BINARY_DIR)
endif()

set(NAME "SoulsyHUD")
set(VERSION 0.15.0.0)
set(VERSION 0.15.1.0)

project(
${NAME}
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "GPL-3.0"
name = "soulsy"
readme = "README.md"
rust-version = "1.71.1"
version = "0.15.0"
version = "0.15.1"

[lib]
crate-type = ["staticlib"]
Expand Down
10 changes: 1 addition & 9 deletions src/util/helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,8 @@ namespace helpers
if (!ui->IsCursorHiddenWhenTopmost() || !ui->IsShowingMenus() || !ui->GetMenu<RE::HUDMenu>()) { return true; }

// If we're not in control of the player character or otherwise not in gameplay, move on.
if (!playerInControl()) { return true; }
/*
const auto* control_map = RE::ControlMap::GetSingleton();
if (!control_map || !control_map->IsMovementControlsEnabled() ||
!control_map->AreControlsEnabled(requiredControlFlags) || !control_map->IsActivateControlsEnabled() ||
control_map->contextPriorityStack.back() != RE::UserEvents::INPUT_CONTEXT_ID::kGameplay)
{
return true;
}
*/
if (!control_map || !control_map->AreControlsEnabled(requiredControlFlags)) { return true; }

return false; // FOR NOW
}
Expand Down

0 comments on commit 3f7daea

Please sign in to comment.