throwing potions now identifies it

This commit is contained in:
2024-07-20 15:40:11 -04:00
parent 48dc219642
commit 842a171016
4 changed files with 11 additions and 5 deletions

View File

@ -35,6 +35,9 @@ protected:
inventory inv;
int MAX_THROW_DIST;
long_result throw_potion(level *lvl,
std::unique_ptr<potion> p, direction dir);
public:
player_base(RNG *rng, const feature enabled_features,
const enum race &nrace);
@ -59,9 +62,6 @@ public:
int get_DEF() const;
int get_HP() const;
long_result throw_potion(level *lvl,
std::unique_ptr<potion> p, direction dir);
void set_potion_known(const potion_type &type);
};