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

Comparing deliantra/server/socket/request.C (file contents):
Revision 1.108 by root, Sat Jun 9 20:51:45 2007 UTC vs.
Revision 1.110 by root, Sun Jul 1 03:16:56 2007 UTC

477 * before flushing. 477 * before flushing.
478 */ 478 */
479void 479void
480AskFaceCmd (char *buf, int len, client *ns) 480AskFaceCmd (char *buf, int len, client *ns)
481{ 481{
482 ns->askface.push_back (atoi (buf)); 482 ns->ixface.push_back (atoi (buf));
483} 483}
484 484
485/** 485/**
486 * Tells client the picture it has to use 486 * Tells client the picture it has to use
487 * to smooth a picture number given as argument. 487 * to smooth a picture number given as argument.
747 747
748 //TODO: maybe golem should become the current_weapon, quite simply? 748 //TODO: maybe golem should become the current_weapon, quite simply?
749 if (pl->golem) 749 if (pl->golem)
750 buf << " Golem*: " << pl->golem->name; 750 buf << " Golem*: " << pl->golem->name;
751 751
752 buf << '\0';
752 buf.linearise (obuf); 753 buf.linearise (obuf);
753 obuf [buf.size ()] = 0;
754} 754}
755 755
756#define AddIfInt64(Old,New,Type) if (Old != New) {\ 756#define AddIfInt64(Old,New,Type) if (Old != New) {\
757 Old = New; \ 757 Old = New; \
758 sl << uint8 (Type) << uint64 (New); \ 758 sl << uint8 (Type) << uint64 (New); \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines