Skip to content

Commit

Permalink
short circuit location filters for outfits
Browse files Browse the repository at this point in the history
  • Loading branch information
powerof3 committed Dec 2, 2023
1 parent 576a7f8 commit c2049ad
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
PUBLISH_MOD_CHANGELOG_FILE: "FOMOD/changelog.txt"
PUBLISH_MOD_DESCRIPTION_FILE: "FOMOD/description.txt"
PUBLISH_ARCHIVE_TYPE: '7z'
VCPKG_COMMIT_ID: 'bb588985e37484d543fc849d0d79434e0d45bb3c'
VCPKG_COMMIT_ID: '16ee2ecb31788c336ace8bb14c21801efb6836e4'
2 changes: 1 addition & 1 deletion SPID/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.20)
set(NAME "po3_SpellPerkItemDistributor" CACHE STRING "")
set(VERSION 6.7.2 CACHE STRING "")
set(VERSION 6.7.3 CACHE STRING "")
set(AE_VERSION 1)
set(VR_VERSION 1)

Expand Down
2 changes: 1 addition & 1 deletion SPID/src/LookupNPC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ namespace NPC
case RE::FormType::Location:
{
const auto location = a_form->As<RE::BGSLocation>();
return actor ? actor->GetEditorLocation() == location : false;
return actor ? actor->GetEditorLocation() == location : true; // Location filter cannot be used for outfit distr
}
case RE::FormType::FormList:
{
Expand Down
2 changes: 1 addition & 1 deletion SPID/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "spid",
"version-string": "6.7.2",
"version-string": "6.7.3",
"description": "Spell Perk Item Distributor",
"homepage": "https://github.com/powerof3/Spell-Perk-Item-Distributor",
"license": "MIT",
Expand Down

0 comments on commit c2049ad

Please sign in to comment.