[Orxonox-commit 335] r2955 - in branches/sound/src: orxonox/objects sound

erwin at orxonox.net erwin at orxonox.net
Mon May 4 20:31:03 CEST 2009


Author: erwin
Date: 2009-05-04 20:31:03 +0200 (Mon, 04 May 2009)
New Revision: 2955

Modified:
   branches/sound/src/orxonox/objects/Level.cc
   branches/sound/src/sound/SoundBase.h
Log:
corrected typo

Modified: branches/sound/src/orxonox/objects/Level.cc
===================================================================
--- branches/sound/src/orxonox/objects/Level.cc	2009-05-04 15:28:59 UTC (rev 2954)
+++ branches/sound/src/orxonox/objects/Level.cc	2009-05-04 18:31:03 UTC (rev 2955)
@@ -161,7 +161,7 @@
             }
 
             this->ambientsound_->loadFile(filename);
-            this->ambientsound_->play();
+            this->ambientsound_->play(true);
         }
     }
 

Modified: branches/sound/src/sound/SoundBase.h
===================================================================
--- branches/sound/src/sound/SoundBase.h	2009-05-04 15:28:59 UTC (rev 2954)
+++ branches/sound/src/sound/SoundBase.h	2009-05-04 18:31:03 UTC (rev 2955)
@@ -49,7 +49,7 @@
 
         void attachToEntity(WorldEntity* entity);
         void update();
-        void play(bool loop);
+        void play(bool loop = false);
         void stop();
         void pause();
 




More information about the Orxonox-commit mailing list