Backwards compatibility
This commit is contained in:
@@ -28,7 +28,8 @@ 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) & 0xffff;
|
||||
if ( (max_stats.s_str= (rs->P.strength >> 16) & 0xffff) == 0 )
|
||||
max_stats.s_str = 16;
|
||||
if ( pstats.s_str > max_stats.s_str )
|
||||
pstats.s_str = max_stats.s_str;
|
||||
pstats.s_lvl = rs->P.level;
|
||||
|
||||
Reference in New Issue
Block a user