Changeset 11952
- Timestamp:
- May 5, 2018, 12:33:41 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/3DPacman_FS18/src/modules/pacman/PacmanGhost.cc
r11950 r11952 125 125 } 126 126 } 127 128 129 while(lockmove){};130 lockmove = true;131 127 //Check on which position ghost has arrived and set new target 132 128 else{ 129 while(lockmove){}; 130 lockmove = true; 131 133 132 if(findpos(actuelposition,possibleposition[0])){ 134 133 setnewTarget(1,17,19); … … 336 335 this->resetGhost(); //Shouldn't happen... 337 336 } //End of Position table 338 339 } 340 lookmove = false;337 lockmove = false; 338 } 339 341 340 } 342 341
Note: See TracChangeset
for help on using the changeset viewer.