Fix: SE035 Problem: Crashes with a segmentation fault in player selection menu of tty interface. This is because the longer menu in Slash'EM overlays the status line and botl() is called to refresh this when the menu is closed. I'm not clear why the same problem did not occur in 0.0.5E7, but I've fixed it my checking in botl() to see if this applies and returning without doing any work if it does. Compatible with: Slash'EM 0.0.5E9 (DOS only) Author: J. Ali Harlow, ali@avrc.city.ac.uk Date: 10 Jan 2000 *** src/botl.c.orig Mon Jan 10 13:10:03 2000 --- src/botl.c Mon Jan 10 13:11:12 2000 *************** *** 407,412 **** --- 407,421 ---- void bot() { + /* + * ALI: Cope with the fact that u_init may not have been + * called yet. This happens if the player selection menus + * are long enough to overwite the status line. In this + * case we will be called when the menu is removed while + * youmonst.data is still NULL. + */ + if (!youmonst.data) + return; bot1(); bot2(); flags.botl = flags.botlx = 0;