context to g.context

This commit is contained in:
Bart House
2018-12-25 07:29:38 -08:00
parent 9069615861
commit 1c65e6afe0
70 changed files with 837 additions and 844 deletions
+2 -2
View File
@@ -584,7 +584,7 @@ boolean break_the_rules;
} else {
if (!break_the_rules) {
u.uen -= energy;
context.botl = 1;
g.context.botl = 1;
}
}
}
@@ -847,7 +847,7 @@ level_tele()
schedule_goto(&newlevel, FALSE, FALSE, 0, (char *) 0, (char *) 0);
/* in case player just read a scroll and is about to be asked to
call it something, we can't defer until the end of the turn */
if (u.utotype && !context.mon_moving)
if (u.utotype && !g.context.mon_moving)
deferred_goto();
}