Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 13, 2011, 11:20:20 PM (13 years ago)
Author:
jo
Message:

Improved engine switching. Removed annoyance in the level.

Location:
code/branches/spaceraceTwo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/spaceraceTwo/data/levels/Spacerace2.oxw

    r8968 r8971  
    105105    </SpaceShip>
    106106
    107     <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff2 />
     107    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
    108108
    109109
  • code/branches/spaceraceTwo/src/modules/gametypes/SpaceRace.cc

    r8970 r8971  
    102102        for(ObjectList<Engine>::iterator it = ObjectList<Engine>::begin(); it; ++it)
    103103        {
    104             if(it->getMaxSpeedFront()>0)
     104            it->setActive(false);
     105            /*if(it->getMaxSpeedFront()>0)
    105106            {
    106107                this->maxSpeedBack_=it->getMaxSpeedBack();
     
    112113            it->setMaxSpeedFront(0);
    113114            it->setMaxSpeedLeftRight(0);
    114             it->setMaxSpeedUpDown(0);
     115            it->setMaxSpeedUpDown(0);*/
    115116        }
    116117        this->addBots(this->numberOfBots_);
     
    125126            for(ObjectList<Engine>::iterator it = ObjectList<Engine>::begin(); it; ++it)
    126127            {
    127                 it->setMaxSpeedBack(this->maxSpeedBack_);
     128                it->setActive(true);
     129                /*it->setMaxSpeedBack(this->maxSpeedBack_);
    128130                it->setMaxSpeedFront(this->maxSpeedFront_);
    129131                it->setMaxSpeedLeftRight(this->maxSpeedLeftRight_);
    130                 it->setMaxSpeedUpDown(this->maxSpeedUpDown_);
     132                it->setMaxSpeedUpDown(this->maxSpeedUpDown_);*/
    131133            }
    132134            this->cantMove_= false;
Note: See TracChangeset for help on using the changeset viewer.