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