Changeset 872

Show
Ignore:
Timestamp:
04/30/08 23:56:10 (4 months ago)
Author:
takkaria
Message:

Monster AI: Make the "possible summons" and "do bolts hit monsters rather than player" checks independent of adult_ai_smart. (Kenneth Boyd)

Files:

Legend:

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

    r849 r872  
    1818#include "angband.h" 
    1919#include "bitflag.h" 
     20#include "tvals.h" 
    2021 
    2122/* 
     
    746747 
    747748        /* Check whether summons and bolts are worth it. */ 
    748         if (adult_ai_smart && !(r_ptr->flags[1] & (RF1_STUPID))) 
     749        if (!(r_ptr->flags[1] & RF1_STUPID)) 
    749750        { 
    750751                /* Check for a clean bolt shot */