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

Comparing deliantra/server/server/c_new.C (file contents):
Revision 1.13 by pippijn, Fri Mar 2 12:14:57 2007 UTC vs.
Revision 1.14 by root, Fri May 18 19:46:22 2007 UTC

1/* 1/*
2 * CrossFire, A Multiplayer game for X-windows 2 * CrossFire, A Multiplayer game
3 * 3 *
4 * Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team 4 * Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team
5 * Copyright (C) 2002 Mark Wedel & Crossfire Development Team 5 * Copyright (C) 2002 Mark Wedel & Crossfire Development Team
6 * Copyright (C) 1992 Frank Tore Johansen 6 * Copyright (C) 1992 Frank Tore Johansen
7 * 7 *
51execute_newserver_command (object *pl, char *command) 51execute_newserver_command (object *pl, char *command)
52{ 52{
53 CommArray_s *csp; 53 CommArray_s *csp;
54 char *cp; 54 char *cp;
55 55
56 pl->contr->has_hit = 0;
57
58 /* 56 /*
59 * remove trailing spaces from commant 57 * remove trailing spaces from commant
60 */ 58 */
61 cp = command + strlen (command) - 1; 59 cp = command + strlen (command) - 1;
62 while ((cp >= command) && (*cp == ' ')) 60 while ((cp >= command) && (*cp == ' '))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines