mofr / Diablerie

Diablo 2 reimplementation on unity
MIT License
962 stars 217 forks source link

Some classes voices don't work #63

Closed mofr closed 4 years ago

mofr commented 5 years ago

For example:

Looks like wav file is found, but it's too short.

Working examples:

mofr commented 4 years ago

The reason was in the class Wav. It was reading the first chunk only and it was of the PAD type in the examples above. Now it's implemented correctly - all data chunks are read, all other chunks are skipped.