- Timestamp:
- May 29, 2011, 6:44:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/modules/questsystem/QuestEffectBeacon.cc
r8351 r8667 113 113 114 114 PlayerTrigger* pTrigger = orxonox_cast<PlayerTrigger*>(trigger); 115 P awn* pawn= NULL;115 PlayerInfo* player = NULL; 116 116 117 117 // If the trigger is a PlayerTrigger. … … 121 121 return false; 122 122 else 123 p awn= pTrigger->getTriggeringPlayer();123 player = pTrigger->getTriggeringPlayer(); 124 124 } 125 125 else 126 126 return false; 127 127 128 if(p awn== NULL)128 if(player == NULL) 129 129 { 130 130 COUT(4) << "The QuestEffectBeacon was triggered by an entity other than a Pawn. (" << trigger->getIdentifier()->getName() << ")" << std::endl; 131 return false;132 }133 134 // Extract the PlayerInfo from the Pawn.135 PlayerInfo* player = pawn->getPlayer();136 137 if(player == NULL)138 {139 COUT(3) << "The PlayerInfo* is NULL." << std::endl;140 131 return false; 141 132 }
Note: See TracChangeset
for help on using the changeset viewer.