Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 1, 2007, 12:01:20 PM (18 years ago)
Author:
rennerc
Message:

ActionboxEnemy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/vs-enhencements/src/world_entities/space_ships/space_ship.cc

    r10662 r10667  
    571571  if (!(State::getCamera()->getEventHandling()))
    572572  {
     573    //PRINTF(0)("\n\n\n\n\n\n\n\nSETCAMERA %x\n\n\n\n\n\n\n", State::getCamera());
    573574    if( event.type == KeyMapper::PEV_VIEW0)
    574575    {
     
    851852        //State::getCameraTargetNode()->setParentSoft(this);
    852853        //State::getCameraTargetNode()->setRelCoorSoft(0,0,0);
    853         this->setCameraMode(Camera::ViewNormal);
     854        //this->setCameraMode(Camera::ViewNormal);
    854855        State::getCamera()->setEventHandling(false);
     856       
     857        PRINTF(0)("\n\n\n\n\n\n\n\nSETCAMERA %x\n\n\n\n\n\n\n", State::getCamera());
     858        State::getCamera()->setViewMode(Camera::ViewNormal);
     859        State::getCameraTargetNode()->setParent(this);
     860        State::getCamera()->setParent(this);
     861
     862       
     863       
    855864        registerEvent(KeyMapper::PEV_VIEW0);
    856865        registerEvent(KeyMapper::PEV_VIEW1);
Note: See TracChangeset for help on using the changeset viewer.