Don't advance the main RNG during hallucination
This is based on the multiple-RNGs code fron NetHack4, but using only the parts relevant to the display RNG (and with substantial changes, both because of post-3.4.3 changes, and because Nethack4's display code is based on Slash'EM's rather than NetHack's).
This commit is contained in:
@@ -2104,6 +2104,7 @@ E void FDECL(genl_outrip, (winid, int, time_t));
|
||||
/* ### rnd.c ### */
|
||||
|
||||
E int FDECL(rn2, (int));
|
||||
E int FDECL(rn2_on_display_rng, (int));
|
||||
E int FDECL(rnl, (int));
|
||||
E int FDECL(rnd, (int));
|
||||
E int FDECL(d, (int, int));
|
||||
@@ -2148,7 +2149,7 @@ E const char *NDECL(Goodbye);
|
||||
/* ### rumors.c ### */
|
||||
|
||||
E char *FDECL(getrumor, (int, char *, BOOLEAN_P));
|
||||
E char *FDECL(get_rnd_text, (const char *, char *));
|
||||
E char *FDECL(get_rnd_text, (const char *, char *, int FDECL((*), (int))));
|
||||
E void FDECL(outrumor, (int, int));
|
||||
E void FDECL(outoracle, (BOOLEAN_P, BOOLEAN_P));
|
||||
E void FDECL(save_oracles, (int, int));
|
||||
|
||||
Reference in New Issue
Block a user