Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 4, 2009, 11:08:14 PM (15 years ago)
Author:
rgrieder
Message:

Cleanup in the GameStates (also moved debug overlay to the GraphicsManager).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/orxonox/gamestates/GSIOConsole.cc

    r5829 r5876  
    3030
    3131#include <iostream>
    32 
    3332#include "core/ConsoleCommand.h"
     33#include "core/CommandExecutor.h"
    3434#include "core/Game.h"
    3535
     
    4949    void GSIOConsole::activate()
    5050    {
    51         {
    52             this->ccLoadMenu_ = createConsoleCommand(createFunctor(&GSIOConsole::loadMenu, this), "loadMenu");
    53             CommandExecutor::addConsoleCommandShortcut(this->ccLoadMenu_);
    54         }
     51        CommandExecutor::addConsoleCommandShortcut(createConsoleCommand(createFunctor(&GSIOConsole::loadMenu, this), "loadMenu"));
    5552    }
    5653
    5754    void GSIOConsole::deactivate()
    5855    {
    59 /*
    60         if (this->ccLoadMenu_)
    61         {
    62             delete this->ccLoadMenu_;
    63             this->ccLoadMenu_ = 0;
    64         }
    65 */
    6656    }
    6757
Note: See TracChangeset for help on using the changeset viewer.