More globals moved to instance_globals.

This commit is contained in:
Bart House
2018-12-19 21:26:35 -08:00
parent b7a0e69998
commit 576eece500
65 changed files with 498 additions and 505 deletions

View File

@@ -292,9 +292,9 @@
/* This has the unfortunate side effect of needing a global variable */
/* to store a result. 'otg_temp' is defined and declared in decl.{ch}. */
#define random_obj_to_glyph() \
((otg_temp = random_object()) == CORPSE \
((g.otg_temp = random_object()) == CORPSE \
? random_monster() + GLYPH_BODY_OFF \
: otg_temp + GLYPH_OBJ_OFF)
: g.otg_temp + GLYPH_OBJ_OFF)
#define obj_to_glyph(obj) \
(((obj)->otyp == STATUE) \