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:
@@ -1814,7 +1814,7 @@ int style;
|
||||
delaycnt = 1;
|
||||
if (!cansee(bhitpos.x, bhitpos.y))
|
||||
curs_on_u();
|
||||
tmp_at(DISP_FLASH, obj_to_glyph(singleobj));
|
||||
tmp_at(DISP_FLASH, obj_to_glyph(singleobj, rn2_on_display_rng));
|
||||
tmp_at(bhitpos.x, bhitpos.y);
|
||||
}
|
||||
/* Mark a spot to place object in bones files to prevent
|
||||
|
||||
Reference in New Issue
Block a user