Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 6, 2015, 10:54:34 PM (8 years ago)
Author:
landauf
Message:

replace '0' by 'nullptr'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/orxonox/Level.cc

    r10624 r10768  
    5454        this->registerVariables();
    5555        this->xmlfilename_ = this->getFilename();
    56         this->xmlfile_ = 0;
     56        this->xmlfile_ = nullptr;
    5757    }
    5858
     
    178178            ++i;
    179179        }
    180         return 0;
     180        return nullptr;
    181181    }
    182182
     
    195195            return this->lodInformation_.find(meshName)->second;
    196196
    197         return 0;
     197        return nullptr;
    198198    }
    199199
     
    207207    {
    208208        orxout(internal_info) << "player left level (id: " << player->getClientID() << ", name: " << player->getName() << ')' << endl;
    209         player->switchGametype(0);
     209        player->switchGametype(nullptr);
    210210    }
    211211}
Note: See TracChangeset for help on using the changeset viewer.