Changeset 751

Show
Ignore:
Timestamp:
03/07/08 18:23:51 (9 months ago)
Author:
GabeCunningham
Message:

Fix #424: The monster list is now reversed, so tougher monsters (generally) show up first.

Files:

Legend:

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

    r696 r751  
    619619        } 
    620620 
    621         /* Go over */ 
    622         for (i = 1; (i < z_info->r_max) && (line < max); i++
     621        /* Go over in reverse order (so we show harder monsters first) */ 
     622        for (i = z_info->r_max - 1; (i > 0) && (line < max); i--
    623623        { 
    624624                monster_lore *l_ptr = &l_list[i];