瀏覽代碼

base: fix typo in sample.cpp that prevented sample loads.

legacy
Sam Hocevar sam 11 年之前
父節點
當前提交
b12e6f914c
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/sample.cpp

+ 1
- 1
src/sample.cpp 查看文件

@@ -66,7 +66,7 @@ Sample::Sample(char const *path)
Array<String> pathlist = System::GetPathList(path);
for (int i = 0; i < pathlist.Count(); ++i)
{
data->chunk = Mix_LoadWAV(pathlist[0].C());
data->chunk = Mix_LoadWAV(pathlist[i].C());
if (data->chunk)
break;
}


Loading…
取消
儲存