More globals moved to instance_globals.
This commit is contained in:
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user