Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10479 in orxonox.OLD for branches


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

fixed animation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/weapons/heavy_blaster.cc

    r10415 r10479  
    241241  glPushMatrix();
    242242    glTranslatef (this->objComp[2][0]->getAbsCoor().x, this->objComp[2][0]->getAbsCoor().y, this->objComp[2][0]->getAbsCoor().z);
    243     static_cast<StaticModel*>(this->getModel())->draw(0);
     243    static_cast<StaticModel*>(this->getModel())->draw(1);
    244244  glPopMatrix();
    245245
     
    256256  glPushMatrix();
    257257    glTranslatef (this->objComp[2][1]->getAbsCoor().x, this->objComp[2][1]->getAbsCoor().y, this->objComp[2][1]->getAbsCoor().z);
    258     static_cast<StaticModel*>(this->getModel())->draw(3);
    259   glPopMatrix();
    260 
    261   glPopMatrix();
    262 }
     258    static_cast<StaticModel*>(this->getModel())->draw(0);
     259  glPopMatrix();
     260
     261  glPopMatrix();
     262}
Note: See TracChangeset for help on using the changeset viewer.