[Orxonox-commit 7257] r11872 - code/branches/3DPacman_FS18/src/modules/Pacman

dreherm at orxonox.net dreherm at orxonox.net
Tue Apr 17 00:04:44 CEST 2018


Author: dreherm
Date: 2018-04-17 00:04:43 +0200 (Tue, 17 Apr 2018)
New Revision: 11872

Modified:
   code/branches/3DPacman_FS18/src/modules/Pacman/Pacman.cc
   code/branches/3DPacman_FS18/src/modules/Pacman/Pacman.h
Log:
Tes Game 8

Modified: code/branches/3DPacman_FS18/src/modules/Pacman/Pacman.cc
===================================================================
--- code/branches/3DPacman_FS18/src/modules/Pacman/Pacman.cc	2018-04-16 21:59:53 UTC (rev 11871)
+++ code/branches/3DPacman_FS18/src/modules/Pacman/Pacman.cc	2018-04-16 22:04:43 UTC (rev 11872)
@@ -148,8 +148,8 @@
 
     void Pacman::playerPreSpawn(PlayerInfo* player)
     {
-        PlayerInfo* playerInfo_;
-        this->playerInfo_ = player;
+        //PlayerInfo* playerInfo_;
+        //this->playerInfo_ = player;
         if(lives <= 0)
         {
             this->end();
@@ -162,7 +162,7 @@
         if (Highscore::exists())
         {
             int score = this->getPoints();
-            Highscore::getInstance().storeScore("3DPacman", score, this->playerInfo_);
+            //Highscore::getInstance().storeScore("3DPacman", score, this->playerInfo_);
         }
         GSLevel::startMainMenu();
     }

Modified: code/branches/3DPacman_FS18/src/modules/Pacman/Pacman.h
===================================================================
--- code/branches/3DPacman_FS18/src/modules/Pacman/Pacman.h	2018-04-16 21:59:53 UTC (rev 11871)
+++ code/branches/3DPacman_FS18/src/modules/Pacman/Pacman.h	2018-04-16 22:04:43 UTC (rev 11872)
@@ -39,7 +39,7 @@
 #include "PacmanGhost.h"
 #include "PacmanPointSphere.h"
 #include "Highscore.h"
-#include "PlayerInfo.h"
+//#include "PlayerInfo.h"
 
 
 #include "core/EventIncludes.h"



More information about the Orxonox-commit mailing list