- Timestamp:
- Dec 4, 2008, 8:28:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/gamestates/GSGraphics.cc
r2171 r2344 164 164 FunctorMember<GSGraphics>* functor1 = createFunctor(&GSGraphics::printScreen); 165 165 functor1->setObject(this); 166 CommandExecutor::addConsoleCommandShortcut(createConsoleCommand(functor1, "printScreen")); 166 ccPrintScreen_ = createConsoleCommand(functor1, "printScreen"); 167 CommandExecutor::addConsoleCommandShortcut(ccPrintScreen_); 167 168 } 168 169 … … 170 171 { 171 172 using namespace Ogre; 173 174 delete this->ccPrintScreen_; 172 175 173 176 // remove our WindowEventListener first to avoid bad calls after the window has been destroyed
Note: See TracChangeset
for help on using the changeset viewer.