Update F4TProxyPuppet.cpp
This commit is contained in:
@@ -107,10 +107,11 @@ namespace F4T::ProxyPuppet
|
||||
}
|
||||
|
||||
REL::Relocation<std::uintptr_t> actorVtable{ RE::Actor::VTABLE[0] };
|
||||
const auto vtable = reinterpret_cast<std::uintptr_t*>(actorVtable.get());
|
||||
const auto computeFeedback = reinterpret_cast<ComputeFeedbackFn>(
|
||||
actorVtable.get()[kComputeFeedbackVtableIndex]);
|
||||
vtable[kComputeFeedbackVtableIndex]);
|
||||
const auto updateFeedback = reinterpret_cast<UpdateFeedbackFn>(
|
||||
actorVtable.get()[kUpdateFeedbackVtableIndex]);
|
||||
vtable[kUpdateFeedbackVtableIndex]);
|
||||
|
||||
if (!updateFeedback) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user