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.148 by root, Sun Dec 28 06:59:27 2008 UTC vs.
Revision 1.149 by root, Mon Apr 27 01:38:49 2009 UTC

685 * Get player's current range attack in obuf. 685 * Get player's current range attack in obuf.
686 */ 686 */
687static void 687static void
688rangetostring (player *pl, char *obuf) 688rangetostring (player *pl, char *obuf)
689{ 689{
690 dynbuf_text buf; 690 dynbuf_text &buf = msg_dynbuf; buf.clear ();
691 691
692 if (pl->ranged_ob) 692 if (pl->ranged_ob)
693 buf << " Range" << (pl->ob->current_weapon == pl->ranged_ob ? "*" : "") << ": " << pl->ranged_ob->name; 693 buf << " Range" << (pl->ob->current_weapon == pl->ranged_ob ? "*" : "") << ": " << pl->ranged_ob->name;
694 694
695 if (pl->combat_ob) 695 if (pl->combat_ob)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines