Skip to content

Commit 2d412dc

Browse files
committed
removed unused detail struct in Events
1 parent 5c284f9 commit 2d412dc

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

include/Events.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,6 @@ namespace Events
2121
EventResult ProcessEvent(const RE::MenuOpenCloseEvent* a_evn, RE::BSTEventSource<RE::MenuOpenCloseEvent>*) override;
2222

2323
private:
24-
struct detail
25-
{
26-
static bool is_cell_home(const RE::TESObjectCELL* a_cell)
27-
{
28-
if (a_cell->IsInteriorCell()) {
29-
if (const auto loc = a_cell->GetLocation(); loc) {
30-
return loc->HasKeywordString(PlayerHome) || loc->HasKeywordString(Inn);
31-
}
32-
}
33-
return false;
34-
}
35-
};
36-
3724
struct UpdatePlayerCombat
3825
{
3926
static void thunk(RE::PlayerCharacter* a_this, float a_delta);

0 commit comments

Comments
 (0)