Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11952


Ignore:
Timestamp:
May 5, 2018, 12:33:41 AM (7 years ago)
Author:
dreherm
Message:

Afraid Test 14

File:
1 edited

Legend:

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

    r11950 r11952  
    125125            }
    126126        }
    127 
    128 
    129         while(lockmove){};
    130         lockmove = true;
    131127        //Check on which position ghost has arrived and set new target
    132128         else{
     129            while(lockmove){};
     130            lockmove = true;
     131
    133132            if(findpos(actuelposition,possibleposition[0])){
    134133                setnewTarget(1,17,19);
     
    336335                this->resetGhost(); //Shouldn't happen...
    337336            } //End of Position table
    338 
    339             }
    340             lookmove = false;
     337                lockmove = false;
     338            }
     339       
    341340    }
    342341
Note: See TracChangeset for help on using the changeset viewer.