Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 20, 2018, 10:18:23 AM (6 years ago)
Author:
dreherm
Message:

Load Backup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/3DPacman_FS18/src/modules/Pacman/PacmanGelb.cc

    r11859 r11894  
    4646    void PacmanGelb::tick(float dt)
    4747    {
     48        SUPER(PacmanGelb, tick, dt);
    4849        //bring player back to ground
    4950        actuelposition = this->getPosition();
    50         actuelposition.y = 0;
     51        actuelposition.y = 10;
    5152        this->setPosition(actuelposition);
    52 
    53         // Camera
    54         Camera* camera = this->getCamera();
    55         if (camera != nullptr)
    56         {
    57             actuelorient = camera->getOrientation();
    58             actuelorient.y = 0;
    59             camera->setOrientation(actuelorient);
    60         }
    61 
    62         SUPER(PacmanGelb, tick, dt);
    6353    }
    6454}
Note: See TracChangeset for help on using the changeset viewer.