[Orxonox-commit 7306] r11923 - code/branches/3DPacman_FS18/src/modules/pacman

dreherm at orxonox.net dreherm at orxonox.net
Sun Apr 29 14:01:19 CEST 2018


Author: dreherm
Date: 2018-04-29 14:01:19 +0200 (Sun, 29 Apr 2018)
New Revision: 11923

Modified:
   code/branches/3DPacman_FS18/src/modules/pacman/PacmanGhost.cc
Log:
Disk quota test 4

Modified: code/branches/3DPacman_FS18/src/modules/pacman/PacmanGhost.cc
===================================================================
--- code/branches/3DPacman_FS18/src/modules/pacman/PacmanGhost.cc	2018-04-29 11:57:24 UTC (rev 11922)
+++ code/branches/3DPacman_FS18/src/modules/pacman/PacmanGhost.cc	2018-04-29 12:01:19 UTC (rev 11923)
@@ -334,7 +334,7 @@
     }
 
     void PacmanGhost::setnewTarget(int firstdec){
-        /*
+        
     	  decision = rand()%1;
             switch(decision){
                 case 0:
@@ -343,7 +343,6 @@
                     this->ismoving = true;
                     break;
     		}
-            */
     }
 
     void PacmanGhost::setnewTarget(int firstdec, int seconddec){ /*
@@ -417,7 +416,7 @@
 
 
     void PacmanGhost::move(float dt, Vector3 actuelposition, Vector3 velocity){
-       // this->setPosition(Vector3(actuelposition.x+20*velocity.x*dt,10,actuelposition.z+20*velocity.z*dt));
+        this->setPosition(Vector3(actuelposition.x+20*velocity.x*dt,10,actuelposition.z+20*velocity.z*dt));
     }
 
     bool PacmanGhost::findpos(Vector3 one, Vector3 other){



More information about the Orxonox-commit mailing list