v0.3.1: resting now works while at full health.

This commit is contained in:
Evan Debenham 2015-07-15 00:08:54 -04:00 committed by Evan Debenham
parent 4f226a409d
commit bb4e915132

View File

@ -431,12 +431,8 @@ public class Hero extends Char {
if (curAction == null) { if (curAction == null) {
if (restoreHealth) { if (restoreHealth) {
if (HP >= HT || Dungeon.level.locked) { spend( TIME_TO_REST ); next();
restoreHealth = false; return false;
} else {
spend( TIME_TO_REST ); next();
return false;
}
} }
ready(); ready();