… | |
… | |
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: |