Changeset 4818 in orxonox.OLD for orxonox/trunk/src/world_entities/player.cc
- Timestamp:
- Jul 7, 2005, 5:24:34 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/player.cc
r4781 r4818 35 35 #include "crosshair.h" 36 36 37 Crosshair* test; 37 38 38 39 39 using namespace std; … … 63 63 this->weaponMan->addWeapon(wpRight, W_CONFIG2); 64 64 this->weaponMan->addWeapon(wpLeft, W_CONFIG2); 65 66 65 } 67 66 … … 77 76 */ 78 77 delete this->weaponMan; 78 delete this->crosshair; 79 79 } 80 80 … … 102 102 103 103 104 t est= new Crosshair();104 this->crosshair = new Crosshair(); 105 105 } 106 106 … … 198 198 void Player::draw () 199 199 { 200 t est->draw();200 this->crosshair->draw(); 201 201 glMatrixMode(GL_MODELVIEW); 202 202 glPushMatrix();
Note: See TracChangeset
for help on using the changeset viewer.