Searched refs:otmp2 (Results 1 - 5 of 5) sorted by relevance

/openbsd-current/games/hack/
H A Dhack.do_name.c171 struct obj *otmp, *otmp2; local
185 otmp2 = newobj(lth);
186 *otmp2 = *obj;
187 otmp2->onamelth = lth;
188 (void) strlcpy(ONAME(otmp2), buf, lth);
191 setworn(otmp2, otmp2->owornmask);
195 if(obj == invent) invent = otmp2;
200 otmp->nobj = otmp2;
204 /* obfree(obj, otmp2);*//* no
[all...]
H A Dhack.save.c240 struct obj *otmp, *otmp2; local
248 else otmp2->nobj = otmp;
251 otmp2 = otmp;
253 if(first && otmp2->nobj){
255 otmp2->nobj = 0;
H A Dhack.lev.c141 struct obj *otmp2; local
146 otmp2 = otmp->nobj;
151 otmp = otmp2;
H A Dhack.steal.c245 struct obj *otmp, *otmp2; local
247 for(otmp = mtmp->minvent; otmp; otmp = otmp2){
250 otmp2 = otmp->nobj;
H A Dhack.invent.c600 struct obj *otmp, *otmp2; local
605 for(otmp = objchn; otmp; otmp = otmp2){
607 otmp2 = otmp->nobj;

Completed in 109 milliseconds