Changeset 10176 in orxonox.OLD for branches/mount_points/src/lib/graphics/importer/bsp
- Timestamp:
- Jan 3, 2007, 6:10:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mount_points/src/lib/graphics/importer/bsp/bsp_manager.cc
r10174 r10176 309 309 { 310 310 hasSwapped = false; 311 311 312 for( int i = 0; i < size - 1; i++) 312 313 { … … 326 327 327 328 // swap if necessary 328 if( v1 <v2)329 if( v1 > v2) 329 330 { 330 331 // swap elements 331 332 int tmp = this->trasparent[i+1]; 332 333 this->trasparent[i+1] = this->trasparent[i]; 333 this->trasparent[i +1] = tmp;334 this->trasparent[i] = tmp; 334 335 335 336 hasSwapped = true;
Note: See TracChangeset
for help on using the changeset viewer.