[Orxonox-commit 1356] r6074 - code/branches/sound3/src/orxonox/sound
rgrieder at orxonox.net
rgrieder at orxonox.net
Mon Nov 16 10:37:02 CET 2009
Author: rgrieder
Date: 2009-11-16 10:37:01 +0100 (Mon, 16 Nov 2009)
New Revision: 6074
Modified:
code/branches/sound3/src/orxonox/sound/BaseSound.h
Log:
Don't say a word..
Modified: code/branches/sound3/src/orxonox/sound/BaseSound.h
===================================================================
--- code/branches/sound3/src/orxonox/sound/BaseSound.h 2009-11-15 22:44:58 UTC (rev 6073)
+++ code/branches/sound3/src/orxonox/sound/BaseSound.h 2009-11-16 09:37:01 UTC (rev 6074)
@@ -52,9 +52,9 @@
virtual void stop();
virtual void pause();
- bool isPlaying() { return this->state_ = Playing; }
- bool isPaused() { return this->state_ = Paused; }
- bool isStopped() { return this->state_ = Stopped; }
+ bool isPlaying() { return this->state_ == Playing; }
+ bool isPaused() { return this->state_ == Paused; }
+ bool isStopped() { return this->state_ == Stopped; }
virtual void setSource(const std::string& source);
virtual const std::string& getSource() const { return this->source_; }
More information about the Orxonox-commit
mailing list