1
0
Fork 0
mirror of https://github.com/k4zmu2a/SpaceCadetPinball.git synced 2025-09-05 16:00:15 +02:00

WaveMix ready. Fixed ball Z reset in TKickout.

This commit is contained in:
oz 2021-01-28 12:46:48 +03:00
parent 77f3f52e0d
commit 74306179a7
7 changed files with 300 additions and 47 deletions

View file

@ -241,7 +241,7 @@ void Sound::NullCallback(int a1, MIXWAVE* a2, int a3)
LRESULT Sound::SoundCallBackWndProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
{
if (Msg != 957)
if (Msg != MM_WOM_DONE)
return DefWindowProcA(hWnd, Msg, wParam, lParam);
auto wavePtr = reinterpret_cast<MIXWAVE*>(lParam);