more symhandling followup

- the cause of of the odd "~" with DECgraphics appears to have been caused
by the Is_rogue_level(&u.uz) tests occurring before rogue_level was
initialized.  Perhaps there's a better way to deal with this than what I did?
This commit is contained in:
cohrs
2006-09-21 06:24:19 +00:00
parent 72011cb75f
commit 81d5ba4044

View File

@@ -251,9 +251,12 @@ struct textlist {
#define H_DEC 2
#ifdef REINCARNATION
#define ROGUEHANDLING(ht) (Is_rogue_level(&u.uz) && roguehandling == (ht))
#define SYMHANDLING(ht) (ROGUEHANDLING(ht) || \
(!Is_rogue_level(&u.uz) && symhandling == (ht)))
#define ROGUEHANDLING(ht) (Is_rogue_level(&u.uz) && \
rogue_level.dlevel != 0 && roguehandling == (ht))
#define SYMHANDLING(ht) \
(ROGUEHANDLING(ht) || \
((!Is_rogue_level(&u.uz) || rogue_level.dlevel == 0) && \
symhandling == (ht)))
#else
#define SYMHANDLING(ht) (symhandling == (ht))
#endif