# | Line 26 | Line 26 | getscene(sname, flags) /* load octree sname */ | |
---|---|---|
26 | char *sname; | |
27 | int flags; | |
28 | { | |
29 | < | extern char *libpath; |
29 | > | extern char *getlibpath(); |
30 | char *pathname; | |
31 | register SCENE *sc; | |
32 | ||
# | Line 51 | Line 51 | int flags; | |
51 | sc->next = slist; | |
52 | slist = sc; | |
53 | } | |
54 | < | if ((pathname = getpath(sname, libpath, R_OK)) == NULL) { |
54 | > | if ((pathname = getpath(sname, getlibpath(), R_OK)) == NULL) { |
55 | sprintf(errmsg, "cannot find octree file \"%s\"", sname); | |
56 | error(USER, errmsg); | |
57 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |