Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion skymp5-client/src/view/formView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ export class FormView {
screenPoint[2] < 1;
if (isOnScreen != this.isOnScreen) {
this.isOnScreen = isOnScreen;
if (isOnScreen) {
if (isOnScreen && actor.is3DLoaded()) {
actor.queueNiNodeUpdate();
(Game.getPlayer() as Actor).queueNiNodeUpdate();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ CallNative::AnySafe CallNative::CallNativeSafe(Arguments& args_)
throw NullPointerException("nativeActorPtr");
if (nativeActorPtr->formType.get() != RE::FormType::ActorCharacter)
throw std::runtime_error("QueueNiNodeUpdate must be called on Actor");
if (!nativeActorPtr->GetCurrent3D())
return;
// this is called QueueNiNodeUpdate in skse
nativeActorPtr->DoReset3D(false);
});
Expand Down
Loading