| # | Line 10 | Line 10 | static const char RCSid[] = "$Id$"; | |
|---|---|---|
| 10 | #include "rtmath.h" | |
| 11 | #include "rterror.h" | |
| 12 | #include "rtio.h" | |
| 13 | + | #include "paths.h" |
| 14 | ||
| 15 | #include "octree.h" | |
| 16 | #include "object.h" | |
| # | Line 49 | Line 50 | int flags; | |
| 50 | } | |
| 51 | if ((pathname = getpath(sname, getrlibpath(), R_OK)) == NULL) { | |
| 52 | sprintf(errmsg, "cannot find octree file \"%s\"", sname); | |
| 53 | < | error(USER, errmsg); |
| 53 | > | error(SYSTEM, errmsg); |
| 54 | } | |
| 55 | flags &= ~sc->ldflags; /* skip what's already loaded */ | |
| 56 | if (flags & IO_SCENE) | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |