# | Line 119 | Line 119 | findmaterial(OBJREC *o) /* find an object's actual m | |
---|---|---|
119 | obj = ao->omod; | |
120 | else | |
121 | obj = lastmod(obj, ao->oargs.sarg[0]); | |
122 | < | if (obj < 0) |
122 | > | if (obj == OVOID) |
123 | objerror(ao, USER, "bad reference"); | |
124 | ao = objptr(obj); | |
125 | } while (ao->otype == MOD_ALIAS); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |