Skip to content

Commit

Permalink
Fix member access for cordl
Browse files Browse the repository at this point in the history
  • Loading branch information
RedBrumbler committed Dec 14, 2023
1 parent 9435414 commit bf26757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/utils/typedefs-wrappers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ struct SafePtrUnity : public SafePtr<T, true> {

inline bool isAlive() const {
#ifdef HAS_CODEGEN
return static_cast<bool>(Parent::internalHandle) && (Parent::ptr()) && Parent::ptr()->m_CachedPtr.m_value;
return static_cast<bool>(Parent::internalHandle) && (Parent::ptr()) && Parent::ptr()->m_CachedPtr;
#else
// offset yay
// the offset as specified in the codegen header of [m_CachedPtr] is 0x10
Expand Down

0 comments on commit bf26757

Please sign in to comment.