ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/item.C
(Generate patch)

Comparing deliantra/server/socket/item.C (file contents):
Revision 1.50 by root, Sun Jul 1 05:00:20 2007 UTC vs.
Revision 1.51 by root, Tue Jul 24 04:55:35 2007 UTC

263 263
264 flags = query_flags (head); 264 flags = query_flags (head);
265 if (QUERY_FLAG (head, FLAG_NO_PICK)) 265 if (QUERY_FLAG (head, FLAG_NO_PICK))
266 flags |= F_NOPICK; 266 flags |= F_NOPICK;
267 267
268 ns.send_face (head->face); 268 ns.send_face (head->face, -50);
269 ns.flush_fx (); 269 ns.flush_fx ();
270 270
271 if (QUERY_FLAG (head, FLAG_ANIMATE) && !ns.anims_sent[head->animation_id]) 271 if (QUERY_FLAG (head, FLAG_ANIMATE) && !ns.anims_sent[head->animation_id])
272 ns.send_animation (head->animation_id); 272 ns.send_animation (head->animation_id);
273 273
357 packet sl; 357 packet sl;
358 sl.printf ("item%d ", pl->ns->itemcmd); 358 sl.printf ("item%d ", pl->ns->itemcmd);
359 359
360 sl << uint32 (0); 360 sl << uint32 (0);
361 361
362 pl->ns->send_face (empty_face); 362 pl->ns->send_face (empty_face, -50);
363 pl->ns->flush_fx (); 363 pl->ns->flush_fx ();
364 364
365 if (pl->ns->look_position) 365 if (pl->ns->look_position)
366 { 366 {
367 char buf[80]; 367 char buf[80];
556 ns->last_weight = weight; 556 ns->last_weight = weight;
557 } 557 }
558 558
559 if (flags & UPD_FACE) 559 if (flags & UPD_FACE)
560 { 560 {
561 ns->send_face (op->face); 561 ns->send_face (op->face, -50);
562 ns->flush_fx (); 562 ns->flush_fx ();
563 sl << uint32 (op->face); 563 sl << uint32 (op->face);
564 } 564 }
565 565
566 if (flags & UPD_NAME) 566 if (flags & UPD_NAME)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines