Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 29, 2014, 3:31:05 PM (10 years ago)
Author:
richtero
Message:

first working compile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/minigame4DHS14/src/modules/mini4Dgame/Mini4Dgame.cc

    r10100 r10101  
    4141
    4242#include "core/CoreIncludes.h"
     43#include "core/EventIncludes.h"
    4344#include "core/command/Executor.h"
    4445#include "core/config/ConfigValueIncludes.h"
     46#include "infos/PlayerInfo.h"
    4547
    4648#include "gamestates/GSLevel.h"
     
    6264        RegisterObject(Mini4Dgame);
    6365
    64         this->center_ = NULL;
     66        this->center_ = 0;
    6567        //TODO: player Null setzen
    6668    }
     
    177179    PlayerInfo* Mini4Dgame::getPlayer(int color) const
    178180    {
    179         return players[color];
     181        return players[color].info_;
    180182        //for(int i=0;i<NUMBEROFPLAYERS;i++)
    181183                //if(color == this->mini4DgamePlayers[i].color)
Note: See TracChangeset for help on using the changeset viewer.