Merge branch 'NetHack-3.6.2' part 2 06-Apr-2019
This commit is contained in:
+2
-2
@@ -1272,7 +1272,7 @@ stat_cap_indx()
|
|||||||
int cap;
|
int cap;
|
||||||
|
|
||||||
#ifdef STATUS_HILITES
|
#ifdef STATUS_HILITES
|
||||||
cap = blstats[now_or_before_idx][BL_CAP].a.a_int;
|
cap = g.blstats[g.now_or_before_idx][BL_CAP].a.a_int;
|
||||||
#else
|
#else
|
||||||
cap = near_capacity();
|
cap = near_capacity();
|
||||||
#endif
|
#endif
|
||||||
@@ -1287,7 +1287,7 @@ stat_hunger_indx()
|
|||||||
int uhs;
|
int uhs;
|
||||||
|
|
||||||
#ifdef STATUS_HILITES
|
#ifdef STATUS_HILITES
|
||||||
uhs = blstats[now_or_before_idx][BL_HUNGER].a.a_int;
|
uhs = g.blstats[g.now_or_before_idx][BL_HUNGER].a.a_int;
|
||||||
#else
|
#else
|
||||||
uhs = (int) u.uhs;
|
uhs = (int) u.uhs;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user