Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5557 in orxonox.OLD for trunk/src/world_entities/weapons/aim.cc


Ignore:
Timestamp:
Nov 13, 2005, 3:00:18 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: more around the aim-class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/aim.cc

    r5556 r5557  
    4646{
    4747  if (this->material)
    48   delete this->material;
    49 
    50   // delete what has to be deleted here
    51 
    52   GraphicsEngine::showMouse(true);
    53   GraphicsEngine::stealWMEvents(false);
     48    delete this->material;
    5449}
    5550
     
    6863//  this->setBindNode(this);
    6964  this->material = new Material;
    70 
    71   // center the mouse on the screen, and also hide the cursors
    72   SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2);
    73   GraphicsEngine::showMouse(false);
    74   GraphicsEngine::stealWMEvents(true);
    7565}
    7666
Note: See TracChangeset for help on using the changeset viewer.