Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 7, 2018, 10:14:37 AM (5 years ago)
Author:
ottka
Message:

makefile update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxoKart_HS18/src/modules/orxokart/TimeHUD.cc

    r12057 r12074  
    3535#include "core/CoreIncludes.h"
    3636#include "util/Convert.h"
    37 #include "Hover.h"
     37#include "OrxoKart.h"
    3838
    3939namespace orxonox
     
    4747        this->time_ = 0.0f;
    4848        this->running_ = false;
    49         this->hoverGame_ = nullptr;
     49        this->orxokartGame_ = nullptr;
    5050        setRunning(true);
    5151    }
     
    7979            this->time_ += dt;
    8080        }
    81         if (this->hoverGame_)
     81        if (this->orxokartGame_)
    8282        {
    8383            this->setCaption(getTimeString(this->time_));
    84             if (this->hoverGame_->getNumberOfFlags() == 0)
    85                 setRunning(false);
     84            //if (this->orxokartGame_->getNumberOfFlags() == 0)
     85              //  setRunning(false);
    8686        }
    8787       
     
    9494        if (this->getOwner() && this->getOwner()->getGametype())
    9595        {
    96             this->hoverGame_ = orxonox_cast<Hover*>(this->getOwner()->getGametype());
     96            this->orxokartGame_ = orxonox_cast<OrxoKart*>(this->getOwner()->getGametype());
    9797        }
    9898        else
    9999        {
    100             this->hoverGame_ = nullptr;
     100            this->orxokartGame_ = nullptr;
    101101        }
    102102    }
Note: See TracChangeset for help on using the changeset viewer.