… | … | ||
---|---|---|---|
225 | return 0; | 225 | return 0; |
226 | } | 226 | } |
227 | 227 | ||
228 | if (sack->race && (sack->race != op->race || op->type == CONTAINER || (sack->stats.food && sack->stats.food != op->type))) | 228 | if (sack->race && (sack->race != op->race || op->type == CONTAINER || (sack->stats.food && sack->stats.food != op->type))) |
229 | { | 229 | { |
230 | new_draw_info_format (NDI_UNIQUE, 0, pl, "You can put only %s into the %s.", &sack->race, query_name (sack)); | 230 | new_draw_info_format (NDI_UNIQUE, 0, pl, "You can only put objects of type '%s' into the %s.", &sack->race, query_name (sack)); |
231 | return 0; | 231 | return 0; |
232 | } | 232 | } |
233 | 233 | ||
234 | if (op->type == SPECIAL_KEY && sack->slaying && op->slaying) | 234 | if (op->type == SPECIAL_KEY && sack->slaying && op->slaying) |
235 | { | 235 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |