Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 4, 2006, 1:57:44 AM (18 years ago)
Author:
bensch
Message:

some valgrind bugs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/space_ships/spacecraft_2d.cc

    r9078 r9087  
    110110  this->airFriction = 2.0f;
    111111
     112
    112113  this->setHealthMax(100);
    113114  this->setHealth(100);
    114115
     116
     117  /// 2D-MODE
     118  this->travelHeight = 0.0f;
     119  this->toTravelHeight = NULL;
     120  this->travelSpeed = 0.0f;
    115121  this->travelNode = new PNode();
     122
     123
    116124  // camera - issue
    117125  this->cameraNode.addNodeFlags(PNODE_PROHIBIT_DELETE_WITH_PARENT);
     
    124132  this->burstEmitter->setParent(this);
    125133  this->burstEmitter->setRelCoor(0, -0.7, 0);
    126   this->burstEmitter->setRelDir(Quaternion(-M_PI_2, Vector(0,0,1)));
     134  this->burstEmitter->setRelDir(Quaternion(-M_PI, Vector(0,0,1)));
    127135  this->burstEmitter->setName("Spacecraft2D_Burst_emitter_Left");
    128136
     
    203211{
    204212  dynamic_cast<Element2D*>(this->getWeaponManager().getFixedTarget())->setVisibility( true);
    205   this->setPlaymode(this->getPlaymode());
     213  this->setPlaymode(Playable::Full3D /*this->getPlaymode()*/);
    206214}
    207215
Note: See TracChangeset for help on using the changeset viewer.