Remove minstrength check

This commit is contained in:
jl777
2019-02-17 23:46:14 -11:00
parent 9ef4ca1723
commit 9a48b245d4
2 changed files with 11 additions and 16 deletions

View File

@@ -28,9 +28,7 @@ void restore_player(struct rogue_state *rs)
//rs->P.gold = purse;
max_hp = rs->P.hitpoints;
pstats.s_str = rs->P.strength & 0xffff;
max_stats.s_str = rs->P.strength >> 16;
if ( max_stats.s_str < 12 )
max_stats.s_str = 12;
max_stats.s_str = (rs->P.strength >> 16) & 0xffff;
if ( pstats.s_str > max_stats.s_str )
pstats.s_str = max_stats.s_str;
pstats.s_lvl = rs->P.level;