Changeset 6990 in orxonox.OLD for trunk/src/world_entities/weapons
- Timestamp:
- Feb 2, 2006, 10:31:56 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/crosshair.cc
r6807 r6990 48 48 if (this->material) 49 49 delete this->material; 50 51 // delete what has to be deleted here52 53 GraphicsEngine::showMouse(true);54 GraphicsEngine::stealWMEvents(false);55 50 } 56 51 … … 73 68 74 69 // center the mouse on the screen, and also hide the cursors 75 SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2);70 /* SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2); 76 71 GraphicsEngine::showMouse(false); 77 GraphicsEngine::stealWMEvents(true); 78 SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2); 72 SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2);*/ 79 73 } 80 74
Note: See TracChangeset
for help on using the changeset viewer.