Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 15, 2006, 12:23:21 AM (18 years ago)
Author:
patrick
Message:

bsp: textures read out better

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/lib/graphics/importer/md3/md3_data.cc

    r8426 r8427  
    331331
    332332  MD3Texture* tex = new MD3Texture[this->meshes[mesh]->header->textureNum];
    333   fread(this->meshes[mesh]->material, 1, sizeof(MD3Texture), pFile);
     333  fread(tex, 1, sizeof(MD3Texture), pFile);
    334334
    335335  for( int i = 0; i < this->meshes[mesh]->header->textureNum; i++) {
Note: See TracChangeset for help on using the changeset viewer.