Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 24, 2007, 6:55:15 PM (17 years ago)
Author:
gfilip
Message:

new

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camera/src/world_entities/blackscreen.cc

    r10343 r10348  
    129129  if (i>0)
    130130    i=i-0.005*fadeSpeed;
     131  else
     132    this->toList(OM_DEAD);
    131133}
    132134
     
    139141void  BlackScreen::toggleFade ()
    140142{
     143    this->state= !this->state;
    141144
    142     this->state= !this->state;
     145    if(state)
     146    {
     147      this->toList(OM_COMMON);
     148    }
    143149}
    144150
Note: See TracChangeset for help on using the changeset viewer.