Files
nethack/include
nethack.rankin 58a9bcf893 moveloop() vs lava
Something's wrong with the way lava was being handled in moveloop().
If you were trapped in lava (ie, moved into some but didn't die on the
spot thanks to fire resistance), you could sink and ultimately die without
ever taking another actual turn (typing ``i<space>'' repeatedly is an easy
way to reproduce).  [`didmove' was only being checked for the sinking
deeper case and not for the decrement which ultimately leads to the fully
sunk case.]  On the other hand, if you could manage to start an occupation
and avoid being interrupted, you would never sink while it was in progress.
[Lava handling followed ``if (multi && occupation) { ...; continue; }''.]

     While testing some other code (lava vs slime, coming shortly) I ended
up with the cursor sitting on the status line while the game was waiting
for me to enter my next move.  I don't really understand what's going on
there, and moving the lava handling before bot() might have hidden that
particular problem now by changing the point at which Slime will get taken
off the status line, but this attempts to fix it anyway.
2006-12-01 06:42:25 +00:00
..
2002-01-18 02:50:06 +00:00
2002-01-05 21:05:47 +00:00
2006-10-17 23:55:42 +00:00
2006-10-08 21:37:58 +00:00
2006-10-17 23:55:42 +00:00
2006-10-01 21:17:38 +00:00
2006-12-01 06:42:25 +00:00
2002-01-05 21:05:47 +00:00
2006-10-26 23:30:00 +00:00
2006-10-01 21:17:38 +00:00
2002-01-05 21:05:47 +00:00
2006-04-14 16:23:56 +00:00
2005-03-13 05:29:01 +00:00
2005-10-06 03:45:20 +00:00
2006-05-13 04:57:52 +00:00
2006-09-21 01:46:15 +00:00
2006-10-08 21:37:58 +00:00
2006-07-10 02:10:22 +00:00
2006-01-06 05:46:03 +00:00
2002-01-05 21:05:48 +00:00
2006-10-17 23:55:42 +00:00
2006-02-12 06:24:25 +00:00
2006-10-02 13:15:50 +00:00
2005-01-02 20:55:41 +00:00
2006-10-26 23:30:00 +00:00
2006-10-08 21:37:58 +00:00
2006-10-02 13:15:50 +00:00
2006-10-02 13:15:50 +00:00
2005-01-23 19:39:01 +00:00
2006-10-17 23:55:42 +00:00
2006-03-02 05:54:04 +00:00