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

Comparing deliantra/server/server/player.C (file contents):
Revision 1.78 by root, Tue Jan 2 11:08:36 2007 UTC vs.
Revision 1.79 by root, Tue Jan 2 14:32:07 2007 UTC

2352 2352
2353 /* call this here - we also will call this in do_ericserver, but 2353 /* call this here - we also will call this in do_ericserver, but
2354 * the players time has been increased when doericserver has been 2354 * the players time has been increased when doericserver has been
2355 * called, so we recheck it here. 2355 * called, so we recheck it here.
2356 */ 2356 */
2357 //TODO: better than handling 8 commands, use some more intelligent rate-limiting 2357 op->contr->ns->handle_command ();
2358 for (int rep = 8; --rep && op->contr->ns->handle_command (); )
2359 ;
2360 2358
2361 if (op->speed_left < 0) 2359 if (op->speed_left < 0)
2362 return 0; 2360 return 0;
2363 2361
2364 if (op->direction && (op->contr->run_on || op->contr->fire_on)) 2362 if (op->direction && (op->contr->run_on || op->contr->fire_on))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines