spell point: allow to decrease sp even if sp=max_sp...

This commit is contained in:
Laurent Alonso(fr)
2020-06-08 15:58:17 +02:00
committed by Celtic Minstrel
parent 7ded3367a5
commit 0ccfc61e93

View File

@@ -299,7 +299,6 @@ void cPlayer::acid(int how_much) {
void cPlayer::restore_sp(int amt) {
if(!is_alive()) return;
if(cur_sp >= max_sp) return;
cur_sp += amt;
if(cur_sp > max_sp)
cur_sp = max_sp;