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.64 by root, Fri Nov 6 13:31:47 2009 UTC vs.
Revision 1.65 by root, Sat Nov 7 18:30:05 2009 UTC

788 /* Note that the resolution this provides for players really isn't 788 /* Note that the resolution this provides for players really isn't
789 * very good. Any player with a speed greater than .67 will 789 * very good. Any player with a speed greater than .67 will
790 * fall into the 'lightning fast movement' category. 790 * fall into the 'lightning fast movement' category.
791 */ 791 */
792 if (op->has_active_speed ()) 792 if (op->has_active_speed ())
793 switch ((int) ((FABS (op->speed)) * 15)) 793 switch ((int)((fabs (op->speed)) * 15.))
794 { 794 {
795 case 0: 795 case 0:
796 buf << "(very slow movement)"; 796 buf << "(very slow movement)";
797 break; 797 break;
798 case 1: 798 case 1:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines