| 1973 | } |
| 1974 | |
| 1975 | staticfn void |
| 1976 | seffect_punishment(struct obj **sobjp) |
| 1977 | { |
| 1978 | struct obj *sobj = *sobjp; |
| 1979 | boolean sblessed = sobj->blessed; |
| 1980 | boolean confused = (Confusion != 0); |
| 1981 | |
| 1982 | gk.known = TRUE; |
| 1983 | if (confused || sblessed) { |
| 1984 | You_feel("guilty."); |
| 1985 | return; |
| 1986 | } |
| 1987 | punish(sobj); |
| 1988 | } |
| 1989 | |
| 1990 | staticfn void |
| 1991 | seffect_stinking_cloud(struct obj **sobjp) |