- Timestamp:
- May 18, 2018, 12:38:37 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/3DPacman_FS18/src/modules/pacman/PacmanPointAfraid.cc
r11976 r11978 75 75 { 76 76 resetposition = this->getPosition(); 77 if((abs(resetposition.x - playerpos.x)<5) && (abs(resetposition. z - playerpos.z)<5)){77 if((abs(resetposition.x - playerpos.x)<5) && (abs(resetposition.y - playerpos.y)<5) && (abs(resetposition.z - playerpos.z)<5)){ 78 78 this->setPosition(Vector3(resetposition.x, -50, resetposition.z)); 79 79 return true;
Note: See TracChangeset
for help on using the changeset viewer.