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 11, 2024
1 parent 8883b65 commit df1bbc3
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 @@ -15556,7 +15556,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 df1bbc3

Please sign in to comment.