- Timestamp:
- Oct 29, 2014, 3:31:05 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/minigame4DHS14/src/modules/mini4Dgame/Mini4Dgame.cc
r10100 r10101 41 41 42 42 #include "core/CoreIncludes.h" 43 #include "core/EventIncludes.h" 43 44 #include "core/command/Executor.h" 44 45 #include "core/config/ConfigValueIncludes.h" 46 #include "infos/PlayerInfo.h" 45 47 46 48 #include "gamestates/GSLevel.h" … … 62 64 RegisterObject(Mini4Dgame); 63 65 64 this->center_ = NULL;66 this->center_ = 0; 65 67 //TODO: player Null setzen 66 68 } … … 177 179 PlayerInfo* Mini4Dgame::getPlayer(int color) const 178 180 { 179 return players[color] ;181 return players[color].info_; 180 182 //for(int i=0;i<NUMBEROFPLAYERS;i++) 181 183 //if(color == this->mini4DgamePlayers[i].color)
Note: See TracChangeset
for help on using the changeset viewer.