Changeset 13041 for OpenSceneGraph/trunk/src/osgPlugins/bsp/VBSPReader.cpp
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/bsp/VBSPReader.cpp
r12359 r13041 493 493 // Next, skip over the static prop leaf array 494 494 str.read((char *) &sprpLeaves, sizeof(StaticPropLeaves)); 495 str.seekg(sprpLeaves.num_leaf_entries * sizeof(unsigned short), 495 str.seekg(sprpLeaves.num_leaf_entries * sizeof(unsigned short), 496 496 std::istream::cur); 497 497 … … 576 576 texPath = findDataFile(texFile, CASE_INSENSITIVE); 577 577 578 // Check up one directory if we don't find it here (the map file is 578 // Check up one directory if we don't find it here (the map file is 579 579 // usually located in the "maps" directory, adjacent to the materials 580 580 // directory) … … 786 786 } 787 787 } 788 788 789 789 // Try the next token 790 790 token = getToken(line, " \t\n\r\"", start); … … 1142 1142 for (i = 0; i < MAX_LUMPS; i++) 1143 1143 { 1144 if ((header.lump_table[i].file_offset != 0) && 1144 if ((header.lump_table[i].file_offset != 0) && 1145 1145 (header.lump_table[i].lump_length != 0)) 1146 1146 {
