Changeset 5557 in orxonox.OLD for trunk/src/world_entities/weapons/aim.cc
- Timestamp:
- Nov 13, 2005, 3:00:18 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/aim.cc
r5556 r5557 46 46 { 47 47 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; 54 49 } 55 50 … … 68 63 // this->setBindNode(this); 69 64 this->material = new Material; 70 71 // center the mouse on the screen, and also hide the cursors72 SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2);73 GraphicsEngine::showMouse(false);74 GraphicsEngine::stealWMEvents(true);75 65 } 76 66
Note: See TracChangeset
for help on using the changeset viewer.