mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Sounds/DetailPage
* fixed generating links to play via the WoW API * fixed usage of not yet available PlaySoundKitID() when selecting file from list * while internally it is pretty laissez-faire about cases in file paths, suddenly WoW DOES care, when it comes to its LUA API. so .. don't cast to lowercase when storing sounds in DB
This commit is contained in:
@@ -109,8 +109,8 @@ function sounds(/*array $ids = [] */)
|
||||
|
||||
$fileSets[] = array(
|
||||
$soundFileIdx,
|
||||
strtolower($s['soundFile'.$i]),
|
||||
strtolower($s['path']),
|
||||
$s['soundFile'.$i],
|
||||
$s['path'],
|
||||
SOUND_TYPE_OGG
|
||||
);
|
||||
$s['soundFile'.$i] = $soundFileIdx;
|
||||
@@ -122,8 +122,8 @@ function sounds(/*array $ids = [] */)
|
||||
|
||||
$fileSets[] = array(
|
||||
$soundFileIdx,
|
||||
strtolower($s['soundFile'.$i]),
|
||||
strtolower($s['path']),
|
||||
$s['soundFile'.$i],
|
||||
$s['path'],
|
||||
SOUND_TYPE_MP3
|
||||
);
|
||||
$s['soundFile'.$i] = $soundFileIdx;
|
||||
|
||||
Reference in New Issue
Block a user