Try to unify "back on solid ground" messaging
Put everything through a single function that can handle all the complicated parts of using the correct proposition for different terrain types, and will not just call things "solid ground" indiscriminately. This got complicated but I'm not sure if it's possible to do it much simpler while still using the distinct names for each type of terrain (unless you are OK with the sentences sounding sort of wonky).
This commit is contained in:
@@ -389,8 +389,8 @@ fix_worst_trouble(int trouble)
|
||||
/* teleport should always succeed, but if not, just untrap them */
|
||||
if (!safe_teleds(TELEDS_NO_FLAGS))
|
||||
reset_utrap(TRUE);
|
||||
back_on_ground(DISSOLVED); /* DISSOLVED: pending cause of death
|
||||
* if trouble didn't get cured */
|
||||
rescued_from_terrain(DISSOLVED); /* DISSOLVED: pending cause of death
|
||||
* if trouble didn't get cured */
|
||||
break;
|
||||
case TROUBLE_STARVING:
|
||||
/* temporarily lost strength recovery now handled by init_uhunger() */
|
||||
|
||||
Reference in New Issue
Block a user