Skip to content

Commit

Permalink
(player): add shared xp
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-cotte committed Jan 16, 2023
1 parent 2dd5747 commit 004177e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2718,8 +2718,7 @@ void AddPlrMonstExper(int lvl, int exp, char pmask)

if (totplrs != 0) {
int e = exp / totplrs;
if ((pmask & (1 << MyPlayerId)) != 0)
AddPlrExperience(*MyPlayer, lvl, e);
AddPlrExperience(*MyPlayer, lvl, e);
}
}

Expand Down

0 comments on commit 004177e

Please sign in to comment.