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

Comparing deliantra/server/common/item.C (file contents):
Revision 1.67 by root, Tue Nov 10 04:38:45 2009 UTC vs.
Revision 1.68 by root, Sun Nov 29 09:41:27 2009 UTC

763 /* Note that the resolution this provides for players really isn't 763 /* Note that the resolution this provides for players really isn't
764 * very good. Any player with a speed greater than .67 will 764 * very good. Any player with a speed greater than .67 will
765 * fall into the 'lightning fast movement' category. 765 * fall into the 'lightning fast movement' category.
766 */ 766 */
767 if (op->has_active_speed ()) 767 if (op->has_active_speed ())
768 switch ((int)((fabs (op->speed)) * 15.)) 768 switch ((int)(op->speed * 15.))
769 { 769 {
770 case 0: 770 case 0:
771 buf << "(very slow movement)"; 771 buf << "(very slow movement)";
772 break; 772 break;
773 case 1: 773 case 1:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines