Changeset 458

Show
Ignore:
Timestamp:
08/07/07 05:47:18 (1 year ago)
Author:
ziz
Message:

Addendum to [457] - Only generate connected stairs if the level transport effect requests it. See #271 for brief discussion.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/generate.c

    r457 r458  
    10351035                                        } 
    10361036                                } 
    1037                                 else 
     1037                                else if (p_ptr->create_up_stair) 
    10381038                                { 
    10391039                                        /* Accept up stairs */ 
     
    10801080                                if (p_ptr->create_down_stair) 
    10811081                                                cave_set_feat(y, x, FEAT_MORE); 
    1082                                 if (p_ptr->create_up_stair) 
     1082                                else if (p_ptr->create_up_stair) 
    10831083                                                cave_set_feat(y, x, FEAT_LESS); 
    10841084                        }