[Orxonox-commit 7326] r11943 - code/branches/3DPacman_FS18/src/modules/pacman

dreherm at orxonox.net dreherm at orxonox.net
Fri May 4 23:39:18 CEST 2018


Author: dreherm
Date: 2018-05-04 23:39:18 +0200 (Fri, 04 May 2018)
New Revision: 11943

Modified:
   code/branches/3DPacman_FS18/src/modules/pacman/Pacman.cc
Log:
Afraid Test 5

Modified: code/branches/3DPacman_FS18/src/modules/pacman/Pacman.cc
===================================================================
--- code/branches/3DPacman_FS18/src/modules/pacman/Pacman.cc	2018-05-04 21:36:54 UTC (rev 11942)
+++ code/branches/3DPacman_FS18/src/modules/pacman/Pacman.cc	2018-05-04 21:39:18 UTC (rev 11943)
@@ -137,8 +137,8 @@
     }
 
     void setAfraid(){
-        afraid = true;
-        timer = 10; //Set timer to 10 seconds
+        this->afraid = true;
+        this->timer = 10; //Set timer to 10 seconds
     } 
 
     void Pacman::posreset(){



More information about the Orxonox-commit mailing list