Changeset 2093 for code/trunk/src/orxonox/objects/quest/LocalQuest.cc
- Timestamp:
- Nov 1, 2008, 9:03:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/quest/LocalQuest.cc
r2092 r2093 127 127 128 128 std::map<Player*, questStatus::Enum>::const_iterator it = this->playerStatus_.find((Player*)(void*)player); //Thx. to x3n for the (Player*)(void*) 'hack'. 129 130 131 132 133 129 if (it != this->playerStatus_.end()) 130 { 131 return it->second; 132 } 133 return questStatus::inactive; 134 134 } 135 135 … … 150 150 { 151 151 return false; 152 152 } 153 153 this->playerStatus_[player] = status; 154 154 return true;
Note: See TracChangeset
for help on using the changeset viewer.