Mercurial > hg > early-roguelike
comparison xrogue/scrolls.c @ 167:a0a57cf42810
ARogue family: don't hide messages caused by moving to a new level.
new_level() redraws the whole screen, including the message line, so if
msg() has just been called, the message will likely not last long
enough to be noticed. These cases have been changed so that msg() is
called after new_level().
If a fall through a trapdoor is fatal, "You fall into a trap!" is no
longer printed, but the tombstone should make things clear.
author | John "Elwin" Edwards |
---|---|
date | Mon, 29 Jun 2015 20:37:32 -0400 |
parents | ce0cf824c192 |
children | 0298a68cc179 |
comparison
equal
deleted
inserted
replaced
166:9b5f1e6aa35a | 167:a0a57cf42810 |
---|---|
430 /* if (turns > 42000) turns = 42000; limit turns */ | 430 /* if (turns > 42000) turns = 42000; limit turns */ |
431 debug ("vlevel = %d turns = %d", vlevel, turns); | 431 debug ("vlevel = %d turns = %d", vlevel, turns); |
432 | 432 |
433 level = rnd(201)+80; /* cursed teleport range */ | 433 level = rnd(201)+80; /* cursed teleport range */ |
434 | 434 |
435 new_level(NORMLEV); | |
435 msg("You are banished to the lower regions! "); | 436 msg("You are banished to the lower regions! "); |
436 new_level(NORMLEV); | |
437 | 437 |
438 status(TRUE); | 438 status(TRUE); |
439 mpos = 0; | 439 mpos = 0; |
440 if (old_max == cur_max) { /* if he's been here make it harder */ | 440 if (old_max == cur_max) { /* if he's been here make it harder */ |
441 /* protect good charactors */ | 441 /* protect good charactors */ |