… | |
… | |
157 | |
157 | |
158 | /** |
158 | /** |
159 | * This checks whether the object has a "on_use_yield" field, and if so generated and drops |
159 | * This checks whether the object has a "on_use_yield" field, and if so generated and drops |
160 | * matching item. |
160 | * matching item. |
161 | **/ |
161 | **/ |
162 | static void |
162 | void |
163 | handle_apply_yield (object *tmp) |
163 | handle_apply_yield (object *tmp) |
164 | { |
164 | { |
165 | const char *yield; |
165 | const char *yield; |
166 | |
166 | |
167 | yield = get_ob_key_value (tmp, "on_use_yield"); |
167 | yield = get_ob_key_value (tmp, "on_use_yield"); |