Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10485 in orxonox.OLD for branches


Ignore:
Timestamp:
Jan 29, 2007, 5:45:42 PM (18 years ago)
Author:
nicolasc
Message:

2nd weapon anim fix

Location:
branches/playability/src/world_entities
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/space_ships/space_ship.cc

    r10484 r10485  
    215215  this->weaponMan.changeWeaponConfig(0);
    216216  this->secWeaponMan.changeWeaponConfig(0);
     217
    217218
    218219  curWeaponPrimary    = 0;
  • branches/playability/src/world_entities/weapons/heavy_blaster.cc

    r10484 r10485  
    229229  glPushMatrix();
    230230    glTranslatef (this->objComp[0][0]->getAbsCoor().x, this->objComp[0][0]->getAbsCoor().y, this->objComp[0][0]->getAbsCoor().z);
    231     static_cast<StaticModel*>(this->getModel())->draw(1);
     231    static_cast<StaticModel*>(this->getModel())->draw(2);
    232232  glPopMatrix();
    233233
    234234  glPushMatrix();
    235235    glTranslatef (this->objComp[1][0]->getAbsCoor().x, this->objComp[1][0]->getAbsCoor().y, this->objComp[1][0]->getAbsCoor().z);
    236     static_cast<StaticModel*>(this->getModel())->draw(2);
     236    static_cast<StaticModel*>(this->getModel())->draw(3);
    237237  glPopMatrix();
    238238
  • branches/playability/src/world_entities/weapons/medium_blaster.cc

    r10415 r10485  
    158158  glTranslatef (this->getAbsCoor ().x, this->getAbsCoor ().y, this->getAbsCoor ().z);
    159159
    160   static_cast<StaticModel*>(this->getModel())->draw(2);
     160  static_cast<StaticModel*>(this->getModel())->draw(0);
    161161
    162162  glPushMatrix();
     
    167167  glPushMatrix();
    168168    glTranslatef (this->objComp[0][1]->getAbsCoor().x, this->objComp[0][1]->getAbsCoor().y, this->objComp[0][1]->getAbsCoor().z);
    169     static_cast<StaticModel*>(this->getModel())->draw(0);
     169    static_cast<StaticModel*>(this->getModel())->draw(2);
    170170  glPopMatrix();
    171171
Note: See TracChangeset for help on using the changeset viewer.