Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 17, 2010, 10:50:43 PM (14 years ago)
Author:
dafrick
Message:

Resolving some TODOs and doing some additional cleanup. Almost done now…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/questsystem/effects/AddQuestHint.cc

    r7456 r7552  
    106106    bool AddQuestHint::invoke(PlayerInfo* player)
    107107    {
    108         //TODO: Replace with assert?
    109         if(player == NULL) // NULL-pointers are evil!
    110         {
    111             COUT(2) << "The input player is NULL." << std::endl;
    112             return false;
    113         }
     108        assert(player);
    114109
    115110        COUT(5) << "AddQuestHint on player: " << player << " ." << std::endl;
Note: See TracChangeset for help on using the changeset viewer.