Changeset 9333 for code/branches/presentation2012merge/src/modules/objects
- Timestamp:
- Jul 22, 2012, 10:04:10 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/objects/triggers/CheckPoint.cc
r7601 r9333 109 109 if (bIsDestination_) 110 110 { 111 const_cast<GametypeInfo*>(gametype->getGametypeInfo())->sendAnnounceMessage("Congratulations - you have won the match!");111 gametype->getGametypeInfo()->sendAnnounceMessage("Congratulations - you have won the match!"); 112 112 gametype->end(); 113 113 } … … 115 115 if (!bIsFirst_ && !bIsDestination_) 116 116 { 117 const_cast<GametypeInfo*>(gametype->getGametypeInfo())->sendAnnounceMessage("Checkpoint reached");117 gametype->getGametypeInfo()->sendAnnounceMessage("Checkpoint reached"); 118 118 } 119 119 }
Note: See TracChangeset
for help on using the changeset viewer.