| 961 | } |
| 962 | |
| 963 | static void _center_cursor() |
| 964 | { |
| 965 | #ifndef USE_TILE_LOCAL |
| 966 | const coord_def cwhere = crawl_view.grid2view(you.pos()); |
| 967 | cgotoxy(cwhere.x, cwhere.y, GOTO_DNGN); |
| 968 | #endif |
| 969 | } |
| 970 | |
| 971 | // We have to refresh the SH display if the player's incapacitated state |
| 972 | // changes (getting confused/paralysed/etc. sets SH to 0, recovering |
no test coverage detected