Changeset 313

Show
Ignore:
Timestamp:
07/08/07 20:58:34 (1 year ago)
Author:
takkaria
Message:

Monster's depth is in red if it's beyond maximum depth, light green otherwise.

Files:

Legend:

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

    r312 r313  
    947947        else if (l_ptr->tkills) 
    948948        { 
     949                byte colour = (r_ptr->level > p_ptr->max_depth) ? TERM_RED : TERM_L_GREEN; 
     950 
    949951                if (l_ptr->flags1 & RF1_FORCE_DEPTH) 
    950952                        text_out(" is found "); 
     
    955957                { 
    956958                        text_out("at depths of "); 
    957                         text_out_c(TERM_ORANGE, "%d", r_ptr->level * 50); 
     959                        text_out_c(colour, "%d", r_ptr->level * 50); 
    958960                        text_out(" feet"); 
    959961                } 
     
    961963                { 
    962964                        text_out("on dungeon level "); 
    963                         text_out_c(TERM_ORANGE, "%d", r_ptr->level); 
     965                        text_out_c(colour, "%d", r_ptr->level); 
    964966                } 
    965967