Changeset 8952 for code/trunk/src/modules
- Timestamp:
- Nov 26, 2011, 6:22:13 PM (13 years ago)
- Location:
- code/trunk/src/modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/pong/PongAI.cc
r8729 r8952 164 164 if (!this->bChangedRandomOffset_) 165 165 { 166 float timetohit = (- this->ball_->getPosition().x + this->ball_->getFieldDimension().x / 2 * sgn(this->ball_->getVelocity().x)) / this->ball_->getVelocity().x;166 float timetohit = (-ballpos.x + this->ball_->getFieldDimension().x / 2 * sgn(ballvel.x)) / ballvel.x; 167 167 if (timetohit < 0.05) 168 168 { -
code/trunk/src/modules/questsystem/QuestManager.cc
r8891 r8952 97 97 if(quest == NULL) 98 98 { 99 COUT(1) << "Quest pointer is NULL." << endl;99 orxout(internal_error, context::quests) << "Quest pointer is NULL." << endl; 100 100 return false; 101 101 } … … 139 139 if(hint == NULL) 140 140 { 141 COUT(1) << "Hint pointer is NULL." << endl;141 orxout(internal_error, context::quests) << "Quest pointer is NULL." << endl; 142 142 return false; 143 143 }
Note: See TracChangeset
for help on using the changeset viewer.