Skip to content

Commit

Permalink
Fixed bug #2642596: "Armour pickup gives nothing" (see http://sourcef…
Browse files Browse the repository at this point in the history
  • Loading branch information
danij committed Mar 1, 2009
1 parent 4118d65 commit af9d8a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/plugins/common/src/p_player.c
Expand Up @@ -817,6 +817,7 @@ int P_PlayerGiveArmorBonus(player_t* plr, armortype_t type, int points)
delta = points;
}

*current += delta;
if(*current != oldPoints)
plr->update |= PSF_ARMOR_POINTS;

Expand Down

0 comments on commit af9d8a8

Please sign in to comment.