Skip to content

Commit

Permalink
cancel target if player is death
Browse files Browse the repository at this point in the history
  • Loading branch information
raydienull committed Nov 20, 2023
1 parent 648bea7 commit 40cbf95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/game/chars/CCharAct.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3261,6 +3261,7 @@ bool CChar::Death()
pClient->addPlayerWarMode();
pClient->addSeason(SEASON_Desolate);
pClient->addMapWaypoint(pCorpse, MAPWAYPOINT_Corpse); // add corpse map waypoint on enhanced clients
pClient->addTargetCancel(); // cancel target if player death

CItem *pPack = LayerFind(LAYER_PACK);
if ( pPack )
Expand Down

0 comments on commit 40cbf95

Please sign in to comment.