[Orxonox-commit 7305] r11922 - code/branches/3DPacman_FS18/src/modules/pacman
dreherm at orxonox.net
dreherm at orxonox.net
Sun Apr 29 13:57:24 CEST 2018
Author: dreherm
Date: 2018-04-29 13:57:24 +0200 (Sun, 29 Apr 2018)
New Revision: 11922
Modified:
code/branches/3DPacman_FS18/src/modules/pacman/PacmanGhost.cc
Log:
Disk quota test 3
Modified: code/branches/3DPacman_FS18/src/modules/pacman/PacmanGhost.cc
===================================================================
--- code/branches/3DPacman_FS18/src/modules/pacman/PacmanGhost.cc 2018-04-29 11:55:17 UTC (rev 11921)
+++ code/branches/3DPacman_FS18/src/modules/pacman/PacmanGhost.cc 2018-04-29 11:57:24 UTC (rev 11922)
@@ -421,8 +421,8 @@
}
bool PacmanGhost::findpos(Vector3 one, Vector3 other){
- /* if((abs(one.x - other.x)<0.5) && (abs(one.z - other.z)<0.5)) return true;
- return false; */
+ if((abs(one.x - other.x)<0.5) && (abs(one.z - other.z)<0.5)) return true;
+ return false;
}
void PacmanGhost::resetGhost(){
More information about the Orxonox-commit
mailing list