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.5 by root, Thu Sep 14 22:34:03 2006 UTC vs.
Revision 1.6 by root, Mon Dec 11 02:54:57 2006 UTC

78 cp++; 78 cp++;
79 } 79 }
80 80
81 csp = find_plugin_command (command, pl); 81 csp = find_plugin_command (command, pl);
82 82
83 if (!csp)
84 csp = find_command_element (command, NewServerCommands, NewServerCommandSize); 83 if (!csp) csp = find_command_element (command, NewServerCommands, NewServerCommandSize);
85 if (!csp)
86 csp = find_command_element (command, Commands, CommandsSize); 84 if (!csp) csp = find_command_element (command, Commands, CommandsSize);
87 if (!csp)
88 csp = find_command_element (command, CommunicationCommands, CommunicationCommandSize); 85 if (!csp) csp = find_command_element (command, CommunicationCommands, CommunicationCommandSize);
89 if (!csp && QUERY_FLAG (pl, FLAG_WIZ)) 86 if (!csp && QUERY_FLAG (pl, FLAG_WIZ))
90 csp = find_command_element (command, WizCommands, WizCommandsSize); 87 csp = find_command_element (command, WizCommands, WizCommandsSize);
91 88
92 if (csp == NULL) 89 if (csp == NULL)
93 { 90 {
106 * but greater than -1. This is to improve the performance of the 103 * but greater than -1. This is to improve the performance of the
107 * new client/server. In theory, it shouldn't make much difference. 104 * new client/server. In theory, it shouldn't make much difference.
108 */ 105 */
109 106
110 if (csp->time && pl->speed_left < -2.0) 107 if (csp->time && pl->speed_left < -2.0)
111 {
112 LOG (llevDebug, "execute_newclient_command: Player issued command that takes more time than he has left.\n"); 108 LOG (llevDebug, "execute_newclient_command: Player issued command that takes more time than he has left.\n");
113 } 109
114 return csp->func (pl, cp); 110 return csp->func (pl, cp);
115} 111}
116 112
117int 113int
118command_run (object *op, char *params) 114command_run (object *op, char *params)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines