context to g.context
This commit is contained in:
+2
-2
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user