Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 3, 2007, 6:10:19 PM (17 years ago)
Author:
patrick
Message:

transparency is handled correclty in bsp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mount_points/src/lib/graphics/importer/bsp/bsp_manager.cc

    r10174 r10176  
    309309  {
    310310    hasSwapped = false;
     311
    311312    for( int i = 0; i < size - 1; i++)
    312313    {
     
    326327
    327328      // swap if necessary
    328       if( v1 < v2)
     329      if( v1 > v2)
    329330      {
    330331        // swap elements
    331332        int tmp = this->trasparent[i+1];
    332333        this->trasparent[i+1] = this->trasparent[i];
    333         this->trasparent[i+1] = tmp;
     334        this->trasparent[i] = tmp;
    334335
    335336        hasSwapped = true;
Note: See TracChangeset for help on using the changeset viewer.