Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CF: a patch for title bug



Players' titles will be loaded properly by the following patch.

*** server.org/login.c	Tue Jan  6 18:29:08 1998
--- server/login.c	Mon Jan 19 17:07:31 1998
***************
*** 541,548 ****
          if (!strcmp(buf,"endplst"))
            break;
  #ifdef SET_TITLE
! 	else if (!strncmp(bufall,"title",5))
!           sscanf(bufall,"title %s[^\n]",pl->own_title);
  #endif /* SET_TITLE */
  #ifdef SAVE_WINDOW_POSITIONS
  	else if (!strcmp(buf,"win_pos")) {
--- 541,548 ----
          if (!strcmp(buf,"endplst"))
            break;
  #ifdef SET_TITLE
! 	else if (!strcmp(buf,"title"))
!           sscanf(bufall,"title %[^\n]",pl->own_title);
  #endif /* SET_TITLE */
  #ifdef SAVE_WINDOW_POSITIONS
  	else if (!strcmp(buf,"win_pos")) {
[to unsubscribe etc., send mail to crossfire-request@ifi.uio.no]