Skip to content

Commit

Permalink
Fix possible crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Niam5 committed Aug 16, 2024
1 parent 16d297c commit 3d1a1bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Entities/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15557,7 +15557,7 @@ InstancePlayerBind* Player::BindToInstance(DungeonPersistentState* state, bool p
#ifdef BUILD_ELUNA
// used by eluna
if (Eluna* e = GetEluna())
e->OnBindToInstance(this, NULL, state->GetMapId(), permanent);
e->OnBindToInstance(this, 0, state->GetMapId(), permanent);
#endif
return &bind;
}
Expand Down

0 comments on commit 3d1a1bd

Please sign in to comment.