Skip to content

Commit

Permalink
Fixed jDoom64: No max armor limit.
Browse files Browse the repository at this point in the history
  • Loading branch information
danij committed Aug 31, 2009
1 parent d14c3a9 commit 1663dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/plugins/jdoom64/src/p_inter.c
Expand Up @@ -229,7 +229,7 @@ boolean P_GiveArmor(player_t* plr, int type, int points)
return false; // Don't pick up.

P_PlayerSetArmorType(plr, type);
P_PlayerGiveArmorBonus(plr, points);
P_PlayerGiveArmorBonus(plr, points - plr->armorPoints);

// Maybe unhide the HUD?
ST_HUDUnHide(plr - players, HUE_ON_PICKUP_ARMOR);
Expand Down

0 comments on commit 1663dd2

Please sign in to comment.