What version?
EDIT: This looks like it might be the problem. Bobboau?
1299: //reads a binary file containing a 3d model
2.6 bobboau 1300: int read_model_file(polymodel * pm, char *filename, int n_subsystems, model_subsystem *subsystems, int ferror)
1.1 penguin 1301: {
1302: CFILE *fp;
1303: int version;
1304: int id, len, next_chunk;
1305: int i,j;
1306:
1307: #ifndef NDEBUG
1308: strcpy(Global_filename, filename);
1309: #endif
1310:
1311: fp = cfopen(filename,"rb");
2.15 |bobboau 1312: if (!fp){
| 1313: if(ferror == 1)Error( LOCATION, "Can't open file <%s>",filename);
| 1314: return -1;
1.1 penguin 1315: }
1316:
1317: // code to get a filename to write out subsystem information for each model that
1318: // is read. This info is essentially debug stuff that is used to help get models
1319: // into the game quicker