Changeset 10348 in orxonox.OLD for branches/camera/src/world_entities/blackscreen.cc
- Timestamp:
- Jan 24, 2007, 6:55:15 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camera/src/world_entities/blackscreen.cc
r10343 r10348 129 129 if (i>0) 130 130 i=i-0.005*fadeSpeed; 131 else 132 this->toList(OM_DEAD); 131 133 } 132 134 … … 139 141 void BlackScreen::toggleFade () 140 142 { 143 this->state= !this->state; 141 144 142 this->state= !this->state; 145 if(state) 146 { 147 this->toList(OM_COMMON); 148 } 143 149 } 144 150
Note: See TracChangeset
for help on using the changeset viewer.