program_state moved to g.
This commit is contained in:
@@ -812,9 +812,9 @@ skip:
|
||||
/* This newsym() caused a crash delivering msg about failure to open
|
||||
* dungeon file init_dungeons() -> panic() -> done(11) ->
|
||||
* vision_recalc(2) -> newsym() -> crash! u.ux and u.uy are 0 and
|
||||
* program_state.panicking == 1 under those circumstances
|
||||
* g.program_state.panicking == 1 under those circumstances
|
||||
*/
|
||||
if (!program_state.panicking)
|
||||
if (!g.program_state.panicking)
|
||||
newsym(u.ux, u.uy); /* Make sure the hero shows up! */
|
||||
|
||||
/* Set the new min and max pointers. */
|
||||
|
||||
Reference in New Issue
Block a user