| 980 | *--------------------------------------------------------------*/ |
| 981 | |
| 982 | boolean |
| 983 | enter_force_field(genericptr_t p1, genericptr_t p2) |
| 984 | { |
| 985 | struct monst *mtmp; |
| 986 | |
| 987 | if (p2 == (genericptr_t) 0) { /* That means the player */ |
| 988 | if (!Blind) |
| 989 | You("bump into %s. Ouch!", |
| 990 | Hallucination ? "an invisible tree" |
| 991 | : "some kind of invisible wall"); |
| 992 | else |
| 993 | pline("Ouch!"); |
| 994 | } else { |
| 995 | mtmp = (struct monst *) p2; |
| 996 | if (canseemon(mtmp)) |
| 997 | pline("%s bumps into %s!", Monnam(mtmp), something); |
| 998 | } |
| 999 | return FALSE; |
| 1000 | } |
| 1001 | |
| 1002 | NhRegion * |
| 1003 | create_force_field(coordxy x, coordxy y, int radius, long ttl) |