diff options
Diffstat (limited to 'src/hexen/p_inter.c')
-rw-r--r-- | src/hexen/p_inter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hexen/p_inter.c b/src/hexen/p_inter.c index 9e196c79..063e3c64 100644 --- a/src/hexen/p_inter.c +++ b/src/hexen/p_inter.c @@ -177,7 +177,7 @@ boolean P_GiveMana(player_t * player, manatype_t mana, int count) { return (false); } - if (mana < 0 || mana > NUMMANA) + if ((unsigned int) mana > NUMMANA) { I_Error("P_GiveMana: bad type %i", mana); } |