Changeset 913
- Timestamp:
- 05/17/08 08:48:11 (4 months ago)
- Files:
-
- trunk/src/trap.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/trap.c
r895 r913 24 24 * Otherwise, match trap power against player armor. 25 25 */ 26 static bool check_hit(int power)26 static bool trap_check_hit(int power) 27 27 { 28 28 return test_hit(power, p_ptr->ac + p_ptr->to_a, TRUE); … … 42 42 int feat; 43 43 44 const staticint min_level[] =44 static const int min_level[] = 45 45 { 46 46 2, /* Trap door */ … … 281 281 case FEAT_TRAP_HEAD + 0x08: 282 282 { 283 if ( check_hit(125))283 if (trap_check_hit(125)) 284 284 { 285 285 msg_print("A small dart hits you!"); … … 297 297 case FEAT_TRAP_HEAD + 0x09: 298 298 { 299 if ( check_hit(125))299 if (trap_check_hit(125)) 300 300 { 301 301 msg_print("A small dart hits you!"); … … 313 313 case FEAT_TRAP_HEAD + 0x0A: 314 314 { 315 if ( check_hit(125))315 if (trap_check_hit(125)) 316 316 { 317 317 msg_print("A small dart hits you!"); … … 329 329 case FEAT_TRAP_HEAD + 0x0B: 330 330 { 331 if ( check_hit(125))331 if (trap_check_hit(125)) 332 332 { 333 333 msg_print("A small dart hits you!");
