Changeset 405

Show
Ignore:
Timestamp:
07/28/07 19:29:21 (1 year ago)
Author:
ctate
Message:

Properly indicate racial infravision in the player flag info.

Fixes #266.

Files:

Legend:

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

    r346 r405  
    10841084        (*f3) |= rp_ptr->flags3; 
    10851085 
     1086        /* If the race has innate infravision, set the corresponding flag */ 
     1087        if (rp_ptr->infra > 0) 
     1088        { 
     1089                (*f1) |= (TR1_INFRA); 
     1090        } 
     1091 
     1092        /* Some classes become immune to fear at a certain plevel */ 
    10861093        if (cp_ptr->flags & CF_BRAVERY_30) 
    10871094        { 
     
    26622669        FILE *fp; 
    26632670 
    2664 ‰      char str[1024]; 
     2671Echar str[1024]; 
    26652672 
    26662673