Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 5, 2018, 12:23:30 PM (6 years ago)
Author:
emustafa
Message:

fixed speed

Location:
code/branches/OrxoKart_HS18/src/modules/orxokart
Files:
2 edited

Legend:

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

    r12144 r12155  
    180180        // Check if ship collided with the flag
    181181        if(flag_->getCollided()){
    182             OrxoKartKart* player = flag_->getObjectofCollision();
     182            player = flag_->getObjectofCollision();
    183183            if (level == 1)
    184184                player->setPosition(Vector3(s*0, 20, s*8.5));
  • code/branches/OrxoKart_HS18/src/modules/orxokart/OrxoKart.h

    r12144 r12155  
    4242#include "gametypes/Gametype.h"
    4343#include "OrxoKartOrigin.h"
    44 
     44#include "OrxoKartKart.h"
    4545namespace orxonox
    4646{
     
    6161
    6262        private:
     63            OrxoKartKart* player;
    6364            WeakPtr<OrxoKartOrigin> origin_;
    6465            OrxoKartFlag* flag_;
Note: See TracChangeset for help on using the changeset viewer.