ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/readable.C
(Generate patch)

Comparing deliantra/server/common/readable.C (file contents):
Revision 1.31 by root, Tue Jul 10 06:05:55 2007 UTC vs.
Revision 1.32 by root, Tue Jul 10 06:07:32 2007 UTC

1856 * 2) make sure there is an entry in max_titles[] array. 1856 * 2) make sure there is an entry in max_titles[] array.
1857 * 3) make sure there are entries for your case in new_text_title() 1857 * 3) make sure there are entries for your case in new_text_title()
1858 * and add_authour(). 1858 * and add_authour().
1859 * 4) you may want separate authour/book name arrays in read.h 1859 * 4) you may want separate authour/book name arrays in read.h
1860 */ 1860 */
1861
1862 msg_type = msg_type > 0 ? msg_type : (RANDOM () % 6); 1861 msg_type = msg_type > 0 ? msg_type : (RANDOM () % 8);
1863 switch (msg_type) 1862 switch (msg_type)
1864 { 1863 {
1865 case 1: /* monster attrib */ 1864 case 1: /* monster attrib */
1866 strcpy (msgbuf, mon_info_msg (level, book_buf_size)); 1865 strcpy (msgbuf, mon_info_msg (level, book_buf_size));
1867 break; 1866 break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines