Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CF: literacy patch
- To: crossfire (at) ifi.uio.no
- Subject: CF: literacy patch
- From: Brian Thomas <>
- Date: Sat, 30 Mar 1996 10:17:25 -0500
- Sender:
I didnt apply the several mailed patches I got. My
code (at least) seems to handle endmsg ok. I changed
one line in common/item.c (see below). I then
could reset the magic shop to my hearts content (I ]
did it about 25 times). Hopefully this will fix it all.
Please let me know if people out there are still having
problems w/ literacy code.
-b.t.
ps. Oh yeah. I also have the fix I sent out earlier in place too
(patch to server/init.c).
*** ../../tarfiles/crossfire-0.92.3/common/item.c Thu Mar 7 03:38:09 1996
--- ./item.c Sat Mar 30 10:05:14 1996
***************
*** 614,624 ****
strcat(retbuf,"(hitback)");
if(op->arch->randomitems != NULL) {
treasure *t;
int first = 1;
for(t=op->arch->randomitems->items; t != NULL; t=t->next)
! if(t->item->clone.type == ABILITY) {
if(first) {
first = 0;
strcat(retbuf,"(Spell abilities:)");
}
strcat(retbuf,"(");
--- 614,624 ----
strcat(retbuf,"(hitback)");
if(op->arch->randomitems != NULL) {
treasure *t;
int first = 1;
for(t=op->arch->randomitems->items; t != NULL; t=t->next)
! if(t->item && (t->item->clone.type == ABILITY)) {
if(first) {
first = 0;
strcat(retbuf,"(Spell abilities:)");
}
strcat(retbuf,"(");