Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 12009


Ignore:
Timestamp:
May 25, 2018, 10:17:11 AM (6 years ago)
Author:
dreherm
Message:

FinalVersion

Location:
code/branches/3DPacman_FS18/src/modules/pacman
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/3DPacman_FS18/src/modules/pacman/PacmanGhost.cc

    r11992 r12009  
    123123            }
    124124        }
    125         //Check on which position ghost has arrived and set new target
     125        //Check on which position the ghost has arrived and set new target
    126126         else{
    127127            while(lockmove){};
  • code/branches/3DPacman_FS18/src/modules/pacman/PacmanPointSphere.cc

    r12007 r12009  
    7676    {
    7777        resetposition = this->getPosition();
    78       if((abs(this->resetposition.x - playerpos.x)<10) && (abs(this->resetposition.y - playerpos.y)<10) && (abs(this->resetposition.z - playerpos.z)<10)){
     78      if((abs(this->resetposition.x - playerpos.x)<10) && (abs(this->resetposition.y - playerpos.y)<10) && (abs(this->resetposition.z - playerpos.z)<5)){
    7979        this->setPosition(Vector3(resetposition.x, -50, resetposition.z));
    8080        return true;
Note: See TracChangeset for help on using the changeset viewer.