Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2955 for code/branches/sound


Ignore:
Timestamp:
May 4, 2009, 8:31:03 PM (16 years ago)
Author:
erwin
Message:

corrected typo

Location:
code/branches/sound/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/sound/src/orxonox/objects/Level.cc

    r2950 r2955  
    162162
    163163            this->ambientsound_->loadFile(filename);
    164             this->ambientsound_->play();
     164            this->ambientsound_->play(true);
    165165        }
    166166    }
  • code/branches/sound/src/sound/SoundBase.h

    r2950 r2955  
    5050        void attachToEntity(WorldEntity* entity);
    5151        void update();
    52         void play(bool loop);
     52        void play(bool loop = false);
    5353        void stop();
    5454        void pause();
Note: See TracChangeset for help on using the changeset viewer.