Skip to content

Commit

Permalink
fix: rare animation related crash when entering a party leader's cell
Browse files Browse the repository at this point in the history
  • Loading branch information
miredirex committed Jul 19, 2024
1 parent dffd156 commit 5d1ad06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/client/Games/Animation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ bool ActorMediator::ForceAction(TESActionData* apAction) noexcept
uint8_t result = 0;

auto pActor = static_cast<Actor*>(apAction->actor);
if (!pActor || pActor->animationGraphHolder.IsReady())
if (pActor && pActor->animationGraphHolder.IsReady())
{
result = TiltedPhoques::ThisCall(PerformComplexAction, this, apAction);

Expand Down

0 comments on commit 5d1ad06

Please sign in to comment.