Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2013, 3:49:14 PM (11 years ago)
Author:
georgr
Message:

A should fire main lazors now, 3rd try

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/wiimote/src/libraries/core/input/WiiMote.cc

    r9851 r9853  
    33//#include "core/command/ConsoleCommand.h"
    44#include <wiicpp/wiicpp/wiicpp.h>
    5 #include <command/CommandExecutor.h>
     5#include "core/command/CommandExecutor.h"
    66
    77
     
    2222                        if(p->Buttons.isPressed(CButtons::BUTTON_A))
    2323                                {
    24                                         CE->execute("fire 0", 0, 0);
     24                                        CommandExecutor::execute("fire 0", 0, 0);
    2525                                }
    2626                        Orientation o;
     
    5959                lastOrientation.roll = 0;
    6060                lastOrientation.pitch = 0;
    61                 CE = &(CommandExecutor::getInstance());
     61
    6262
    6363        }
Note: See TracChangeset for help on using the changeset viewer.