moves, monstermoves, wailmsg, migrating_objs and billobjs moved to g.

This commit is contained in:
Bart House
2018-12-24 20:22:33 -08:00
parent be5cdcf77a
commit 90547edb83
47 changed files with 224 additions and 228 deletions

View File

@@ -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--;