From 0ccfc61e930815f5931e53d73e14f73caaeff5cd Mon Sep 17 00:00:00 2001 From: "Laurent Alonso(fr)" Date: Mon, 8 Jun 2020 15:58:17 +0200 Subject: [PATCH] spell point: allow to decrease sp even if sp=max_sp... --- src/universe/pc.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/universe/pc.cpp b/src/universe/pc.cpp index d66a75a3..47ed1dd5 100644 --- a/src/universe/pc.cpp +++ b/src/universe/pc.cpp @@ -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;