Ticket #1711: melee2.c.diff

File melee2.c.diff, 993 bytes (added by mart0258, 7 years ago)

patch

  • .c"

    diff --git "a/C:\\Users\\mart0258\\AppData\\Local\\Temp\\mel2D78.tmp\\melee2-HEAD-left.c" "b/D:\\Games\\angband\\git\\src\\monster\\melee2.c"
    index 2c34346..2299a7a 100644
    old new static bool make_attack_normal(struct monster *m_ptr, struct player *p) 
    15711571 
    15721572 
    15731573        /* Get the monster name (or "it") */ 
    1574         monster_desc(m_name, sizeof(m_name), m_ptr, 0); 
     1574        monster_desc(m_name, sizeof(m_name), m_ptr, MDESC_CAPITAL); 
    15751575 
    15761576        /* Get the "died from" information (i.e. "a kobold") */ 
    15771577        monster_desc(ddesc, sizeof(ddesc), m_ptr, MDESC_SHOW | MDESC_IND2); 
    static void process_monster(struct cave *c, int m_idx) 
    28002800        char m_name[80]; 
    28012801 
    28022802        /* Get the monster name */ 
    2803         monster_desc(m_name, sizeof(m_name), m_ptr, 0); 
     2803        monster_desc(m_name, sizeof(m_name), m_ptr, MDESC_CAPITAL); 
    28042804 
    28052805        /* Handle "sleep" */ 
    28062806        if (m_ptr->m_timed[MON_TMD_SLEEP]) {