git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1287 c06c8d41-db1a-0410-9941-cceddc491573
WX2VFNANQZ3IRHBXSLKJT3G3OAQREAZISXLOTG6JO7KXFBHQFOYAC void TravelCache::delete_waypoint(){if (!get_waypoint_count())return;while (get_waypoint_count()){mesclr();mpr("Existing waypoints:");list_waypoints();mpr("Delete which waypoint? (* - delete all, Esc - exit) ",MSGCH_PROMPT);int key = getch();if (key >= '0' && key <= '9'){key -= '0';if (waypoints[key].is_valid()){waypoints[key].reset();continue;}}else if (key == '*'){for (int i = 0; i < TRAVEL_WAYPOINT_COUNT; ++i)waypoints[i].reset();break;}