… | |
… | |
269 | { |
269 | { |
270 | op = creator->insert (op); |
270 | op = creator->insert (op); |
271 | |
271 | |
272 | if ((flags & GT_APPLY) && QUERY_FLAG (creator, FLAG_MONSTER)) |
272 | if ((flags & GT_APPLY) && QUERY_FLAG (creator, FLAG_MONSTER)) |
273 | monster_check_apply (creator, op); |
273 | monster_check_apply (creator, op); |
274 | |
|
|
275 | if (flags & GT_UPDATE_INV) |
|
|
276 | if (object *tmp = creator->in_player ()) |
|
|
277 | esrv_send_item (tmp, op); |
|
|
278 | } |
274 | } |
279 | } |
275 | } |
280 | |
276 | |
281 | /* if there are change_xxx commands in the treasure, we include the changes |
277 | /* if there are change_xxx commands in the treasure, we include the changes |
282 | * in the generated object |
278 | * in the generated object |