Explorar el Código

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

legacy
Sam Hocevar sam hace 12 años
padre
commit
b12e6f914c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/sample.cpp

+ 1
- 1
src/sample.cpp Ver fichero

@@ -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;
}


Cargando…
Cancelar
Guardar