Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 30, 2007, 7:39:47 PM (17 years ago)
Author:
snellen
Message:

corrected typo in worldentity → setVisibiliy to setVisibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weather_effects/lightning_effect.cc

    r10415 r10511  
    107107        this->thunderBolt[i] = new Billboard(NULL);
    108108        this->thunderBolt[i]->setSize(this->width, this->height);
    109         this->thunderBolt[i]->setVisibiliy(false);
     109        this->thunderBolt[i]->setVisibility(false);
    110110    }
    111111
     
    176176    int i;
    177177    for (i = 0; i < 4; i++)
    178         this->thunderBolt[i]->setVisibiliy(false);
     178        this->thunderBolt[i]->setVisibility(false);
    179179
    180180}
     
    197197
    198198        // Start a flash & lightning cycle
    199         this->thunderBolt[0]->setVisibiliy(true);
     199        this->thunderBolt[0]->setVisibility(true);
    200200
    201201        // Lighten up environment
     
    209209
    210210    if( this->thunderBolt[0]->isVisible() && this->time > this->flashRisingTime*1/3 ) {
    211         this->thunderBolt[0]->setVisibiliy(false);
    212         this->thunderBolt[1]->setVisibiliy(true);
     211        this->thunderBolt[0]->setVisibility(false);
     212        this->thunderBolt[1]->setVisibility(true);
    213213    } else if( this->thunderBolt[1]->isVisible() && this->time > this->flashRisingTime*2/3 ) {
    214         this->thunderBolt[1]->setVisibiliy(false);
    215         this->thunderBolt[2]->setVisibiliy(true);
     214        this->thunderBolt[1]->setVisibility(false);
     215        this->thunderBolt[2]->setVisibility(true);
    216216
    217217    } else if( this->thunderBolt[2]->isVisible() && this->time > this->flashRisingTime) {
    218         this->thunderBolt[2]->setVisibiliy(false);
    219         this->thunderBolt[3]->setVisibiliy(true);
     218        this->thunderBolt[2]->setVisibility(false);
     219        this->thunderBolt[3]->setVisibility(true);
    220220    }
    221221
    222222    if( this->thunderBolt[3]->isVisible() && this->time > this->flashHoldTime) {
    223         this->thunderBolt[3]->setVisibiliy(false);
     223        this->thunderBolt[3]->setVisibility(false);
    224224
    225225        this->time = 0.0f;
Note: See TracChangeset for help on using the changeset viewer.