izchak@linc.cis.upenn.edu (Izchak Miller) (08/21/89)
Unfortunately, we again face the need to distribute a bugfix in advance of the next Patchlevel. The diff bellow will correct a mistake in the pickup code related to shop behavior. Please apply this diff right away (to prevent unfair advantage to some quick players :-)). Sorry for the bother. -Izchak *** Old/pickup.c Fri Aug 18 02:42:07 1989 --- pickup.c Sun Aug 20 23:31:33 1989 *************** *** 270,275 if(obj->spe) obj->spe = 0; break; } freeobj(obj); if(Invisible) newsym(u.ux,u.uy); addtobill(obj, TRUE); /* sets obj->unpaid if necessary */ --- 270,276 ----- if(obj->spe) obj->spe = 0; break; } + addtobill(obj, TRUE); /* sets obj->unpaid if necessary */ freeobj(obj); if(Invisible) newsym(u.ux,u.uy); if(wt > -5) You("have a little trouble lifting"); *************** *** 272,278 } freeobj(obj); if(Invisible) newsym(u.ux,u.uy); - addtobill(obj, TRUE); /* sets obj->unpaid if necessary */ if(wt > -5) You("have a little trouble lifting"); { int pickquan = obj->quan; int mergquan; --- 273,278 ----- addtobill(obj, TRUE); /* sets obj->unpaid if necessary */ freeobj(obj); if(Invisible) newsym(u.ux,u.uy); if(wt > -5) You("have a little trouble lifting"); { int pickquan = obj->quan; int mergquan;