Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 22, 2014, 5:32:37 PM (10 years ago)
Author:
fvultier
Message:

Level wird zufaellig generiert, HUD funktionier(Punkte werden angezeigt), Diverse bugs behoben, Figur springt von allen Platformen korrekt ab.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickupsFS14/src/modules/jump/JumpPlatform.cc

    r10040 r10041  
    3636#include "core/CoreIncludes.h"
    3737#include "core/GameMode.h"
    38 
     38#include "graphics/Model.h"
    3939#include "gametypes/Gametype.h"
    4040
     
    8686        this->setVelocity(Vector3(0,0,0));
    8787        this->setAcceleration(Vector3(0,0,0));
     88
     89        model = NULL;
    8890    }
    8991
     
    9496    JumpPlatform::~JumpPlatform()
    9597    {
    96         if (this->isInitialized())
     98        /*if (this->isInitialized())
    9799        {
    98100            if (this->bDeleteBats_)
     
    100102
    101103            delete[] this->batID_;
    102         }
     104        }*/
    103105    }
    104106
     
    137139
    138140        Vector3 platformPosition = this->getPosition();
    139         Vector3 platformVelocity = this->getVelocity();
    140141
    141142        if (figure_ != NULL)
     
    149150            }
    150151        }
     152
     153
    151154
    152155
Note: See TracChangeset for help on using the changeset viewer.