mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[10394] Remove redundant use of this-> in recent implemented script calls
Thanks porteyoplait for pointing it out /bonk author Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
3332ed72a6
commit
c252ca5bc4
3 changed files with 5 additions and 5 deletions
|
|
@ -1514,7 +1514,7 @@ void Player::setDeathState(DeathState s)
|
|||
GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_DEATH, 1);
|
||||
GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_DEATH_IN_DUNGEON, 1);
|
||||
|
||||
if (InstanceData* mapInstance = this->GetInstanceData())
|
||||
if (InstanceData* mapInstance = GetInstanceData())
|
||||
mapInstance->OnPlayerDeath(this);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue