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.15 by elmex, Wed Dec 20 14:38:50 2006 UTC vs.
Revision 1.16 by elmex, Sat Dec 30 21:07:46 2006 UTC

867 867
868 /* Note that the resolution this provides for players really isn't 868 /* Note that the resolution this provides for players really isn't
869 * very good. Any player with a speed greater than .67 will 869 * very good. Any player with a speed greater than .67 will
870 * fall into the 'lightning fast movement' category. 870 * fall into the 'lightning fast movement' category.
871 */ 871 */
872 if (FABS (op->speed) > MIN_ACTIVE_SPEED) 872 if (op->has_active_speed ())
873 { 873 {
874 switch ((int) ((FABS (op->speed)) * 15)) 874 switch ((int) ((FABS (op->speed)) * 15))
875 { 875 {
876 case 0: 876 case 0:
877 strcat (retbuf, "(very slow movement)"); 877 strcat (retbuf, "(very slow movement)");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines