src/project-obj.c
static void project_object_elemental(project_object_handler_context_t *context,
									 int element, const char *singular_verb,
									 const char *plural_verb)
{
	if (context->obj->el_info[element].flags & EL_INFO_HATES) {
		context->do_kill = TRUE;
		context->note_kill = VERB_AGREEMENT(context->obj->number,
											singular_verb, plural_verb);
		context->ignore = (context->obj->el_info[element].flags &
						   EL_INFO_IGNORE) ? TRUE : FALSE;
	}
}
/**
 * Project an effect onto an object.
 *
 * \param context is the project_o context.
 * \param element is for elements that will destroy an object, or that it will
 * ignore.
 * \param singular_verb is the verb that is displayed when one object is
 * destroyed.
 * \param plural_verb is the verb that is displayed in multiple objects are
 * destroyed.
 */
Project an effect onto an object.
\param context is the project_o context.
\param element is for elements that will destroy an object, or that it will
ignore.
\param singular_verb is the verb that is displayed when one object is
destroyed.
\param plural_verb is the verb that is displayed in multiple objects are
destroyed.
Project an effect onto an object . \ param context is the project_o context . \ param element is for elements that will destroy an object or that it will ignore . \ param singular_verb is the verb that is displayed when one object is destroyed . \ param plural_verb is the verb that is displayed in multiple objects are destroyed .
static void project_object_elemental(project_object_handler_context_t *context,
									 int element, const char *singular_verb,
									 const char *plural_verb)
{
	if (context->obj->el_info[element].flags & EL_INFO_HATES) {
		context->do_kill = TRUE;
		context->note_kill = VERB_AGREEMENT(context->obj->number,
											singular_verb, plural_verb);
		context->ignore = (context->obj->el_info[element].flags &
						   EL_INFO_IGNORE) ? TRUE : FALSE;
	}
}
static void project_object_elemental ( project_object_handler_context_t * context , int element , const char * singular_verb , const char * plural_verb ) { if ( context -> obj -> el_info [ element ] . flags & EL_INFO_HATES ) { context -> do_kill = TRUE ; context -> note_kill = VERB_AGREEMENT ( context -> obj -> number , singular_verb , plural_verb ) ; context -> ignore = ( context -> obj -> el_info [ element ] . flags & EL_INFO_IGNORE ) ? TRUE : FALSE ; } }
Project an effect onto an object.
Project an effect onto an object .