Changeset 8351 for code/trunk/src/modules/questsystem/effects
- Timestamp:
- Apr 28, 2011, 7:15:14 AM (14 years ago)
- Location:
- code/trunk/src/modules/questsystem/effects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/questsystem/effects/AddReward.cc
r7456 r8351 105 105 COUT(5) << "AddReward on player: " << player << " ." << std::endl; 106 106 107 bool check= true;107 bool temp = true; 108 108 for ( std::list<Rewardable*>::iterator reward = this->rewards_.begin(); reward != this->rewards_.end(); ++reward ) 109 check = check&& (*reward)->reward(player);109 temp = temp && (*reward)->reward(player); 110 110 111 111 COUT(4) << "Rewardable successfully added to player." << player << " ." << std::endl; 112 112 113 return check;113 return temp; 114 114 } 115 115 -
code/trunk/src/modules/questsystem/effects/CMakeLists.txt
- Property svn:eol-style set to native
Note: See TracChangeset
for help on using the changeset viewer.