# | Line 249 | Line 249 | register PACKHEAD *p; | |
---|---|---|
249 | double d; | |
250 | register int i; | |
251 | /* get beam coordinates */ | |
252 | < | if (p->hd < 0 | p->hd >= HDMAX || hdlist[p->hd] == NULL) |
252 | > | if ((p->hd < 0) | (p->hd >= HDMAX) || hdlist[p->hd] == NULL) |
253 | error(INTERNAL, "bad holodeck number in disp_bundle"); | |
254 | if (!hdbcoord(gc, hdlist[p->hd], p->bi)) | |
255 | error(INTERNAL, "bad beam index in disp_bundle"); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |