dmuratshin 9 年 前
コミット
a1f33f8eb5
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/SoundInstance.cpp

+ 1 - 1
src/SoundInstance.cpp

@@ -262,7 +262,7 @@ namespace oxygine
 
     int SoundInstance::getPosition() const
     {
-        if (_channel)
+        if (!_channel)
             return 0;
         return _channel->getPosition();
     }