Changeset 10759 in orxonox.OLD for branches/presentation/src/world_entities
- Timestamp:
- Jun 21, 2007, 1:52:38 AM (18 years ago)
- Location:
- branches/presentation/src/world_entities/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/weapons/crosshair.cc
r10753 r10759 23 23 #include "state.h" 24 24 #include "material.h" 25 26 #include "tools/camera.h" 25 27 26 28 -
branches/presentation/src/world_entities/weapons/weapon_manager.cc
r10739 r10759 124 124 void WeaponManager::showCrosshair() 125 125 { 126 this->crosshair->setVisibility( true); 126 if (this->crosshair) 127 this->crosshair->setVisibility( true); 127 128 } 128 129 129 130 void WeaponManager::hideCrosshair() 130 131 { 131 this->crosshair->setVisibility( false); 132 if (this->crosshair) 133 this->crosshair->setVisibility( false); 132 134 } 133 135
Note: See TracChangeset
for help on using the changeset viewer.