Changeset 1460
- Timestamp:
- 07/02/09 21:42:15 (14 months ago)
- Files:
-
- 1 modified
-
trunk/src/spells1.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/spells1.c
r1458 r1460 280 280 void teleport_player_level(void) 281 281 { 282 if (OPT(adult_ironman)) 283 { 284 msg_print("Nothing happens."); 285 return; 286 } 287 288 289 if (!p_ptr->depth) 282 283 if (is_quest(p_ptr->depth) || (p_ptr->depth >= MAX_DEPTH-1)) 284 { 285 if (OPT(adult_ironman)) 286 { 287 msg_print("Nothing happens."); 288 return; 289 } 290 291 message(MSG_TPLEVEL, 0, "You rise up through the ceiling."); 292 293 /* New depth */ 294 p_ptr->depth--; 295 296 /* Leaving */ 297 p_ptr->leaving = TRUE; 298 } 299 300 else if ((!p_ptr->depth) || (OPT(adult_ironman))) 290 301 { 291 302 message(MSG_TPLEVEL, 0, "You sink through the floor."); … … 293 304 /* New depth */ 294 305 p_ptr->depth++; 295 296 /* Leaving */297 p_ptr->leaving = TRUE;298 }299 300 else if (is_quest(p_ptr->depth) || (p_ptr->depth >= MAX_DEPTH-1))301 {302 message(MSG_TPLEVEL, 0, "You rise up through the ceiling.");303 304 /* New depth */305 p_ptr->depth--;306 306 307 307 /* Leaving */
