Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisSoemers committed Jul 1, 2023
1 parent 3102462 commit ee967be
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ message("Using toolchain file ${CMAKE_TOOLCHAIN_FILE}.")
########################################################################################################################
project(
DualWieldParryingSKSE
VERSION 1.5.0
VERSION 1.5.1
DESCRIPTION "An SKSE plugin implementation of Dual Wield Parrying for Skyrim."
LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 23)
Expand Down
4 changes: 2 additions & 2 deletions include/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//
// Instead, edit the template in /cmake/version.h.in

#define PROJECT_VER 1.5.0
#define PROJECT_VER 1.5.1
#define PROJECT_VER_MAJOR 1
#define PROJECT_VER_MINOR 5
#define PROJECT_VER_PATCH 0
#define PROJECT_VER_PATCH 1
7 changes: 3 additions & 4 deletions src/InputEventHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,17 +114,16 @@ RE::BSEventNotifyControl InputEventHandler::ProcessEvent(RE::InputEvent* const*
}
}



if (keyCode == parryKey || keyCode == parryKey2) {
const auto controlMap = RE::ControlMap::GetSingleton();
const auto eventName = controlMap->GetUserEventName(buttonEvent->GetIDCode(), buttonEvent->device.get());
const auto eventName =
controlMap->GetUserEventName(buttonEvent->GetIDCode(), buttonEvent->device.get());

if (eventName == RE::UserEvents::GetSingleton()->leftAttack) {
if (leftHandSpell || (playerLeftWeap && playerLeftWeap->GetWeaponType() == RE::WEAPON_TYPE::kStaff)) {
return RE::BSEventNotifyControl::kContinue;
}
}

// Event for parry key
if (buttonEvent->IsHeld()) {
// Player wants to block
Expand Down
2 changes: 1 addition & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
"name": "parrying-rpg-plugin",
"version-string": "1.5.0",
"version-string": "1.5.1",
"port-version": 0,
"description": "An SKSE plugin implementation of Dual Wield Parrying for The Elder Scrolls V: Skyrim Special Edition.",
"license": "Apache-2.0",
Expand Down

0 comments on commit ee967be

Please sign in to comment.