feedback when escaping lava
Fix the duplicate feedback given when landing on one or more items after teleporting out of lava. This also avoids "you find yourself back on solid water" if you are able to survive at a water location and safe_teleds() puts you on one.
This commit is contained in:
@@ -2852,6 +2852,10 @@ spoteffects(boolean pick)
|
||||
/* or transformed trap (land mine -> pit) */
|
||||
&& (!spottrap || !trap || trap->ttyp == spottraptyp))
|
||||
return;
|
||||
/* when float_down() puts hero into lava and she teleports out,
|
||||
defer spoteffects() until after "you are back on solid <surface>" */
|
||||
if (iflags.in_lava_effects)
|
||||
return;
|
||||
|
||||
++inspoteffects;
|
||||
spotterrain = levl[u.ux][u.uy].typ;
|
||||
|
||||
Reference in New Issue
Block a user