Skip to content

Commit 0709aaa

Browse files
fix: IsPlayerInDialogue function restored. (#42)
* fix: `IsPlayerInDialogue` restored, inline fixed it. --------- Co-authored-by: FalloutCascadia <54562300+FalloutCascadia@users.noreply.github.com>
1 parent 238e264 commit 0709aaa

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

include/RE/P/PlayerCharacter.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ namespace RE
6666
class PerkEntryUpdatedEvent;
6767
}
6868

69+
inline bool IsPlayerInDialogue()
70+
{
71+
using func_t = decltype(&IsPlayerInDialogue);
72+
static REL::Relocation<func_t> func{ ID::IsPlayerInDialogue };
73+
return func();
74+
}
75+
6976
class __declspec(novtable) PlayerCharacter :
7077
public Actor, // 000
7178
public BSTEventSource<BGSActorCellEvent>, // 4C8

0 commit comments

Comments
 (0)