moves, monstermoves, wailmsg, migrating_objs and billobjs moved to g.
This commit is contained in:
@@ -186,7 +186,7 @@ mon_regen(mon, digest_meal)
|
||||
struct monst *mon;
|
||||
boolean digest_meal;
|
||||
{
|
||||
if (mon->mhp < mon->mhpmax && (moves % 20 == 0 || regenerates(mon->data)))
|
||||
if (mon->mhp < mon->mhpmax && (g.moves % 20 == 0 || regenerates(mon->data)))
|
||||
mon->mhp++;
|
||||
if (mon->mspec_used)
|
||||
mon->mspec_used--;
|
||||
|
||||
Reference in New Issue
Block a user