Add a bugfix for a bizarre function call

This commit is contained in:
Clownacy 2019-09-03 00:11:57 +01:00
parent bc262bd5e2
commit 09b188ac29

View file

@ -41,7 +41,10 @@ BOOL InitDirectSound(HWND hwnd)
if (DirectSoundCreate(NULL, &lpDS, NULL) != DS_OK) if (DirectSoundCreate(NULL, &lpDS, NULL) != DS_OK)
{ {
lpDS = NULL; lpDS = NULL;
#ifndef FIX_BUGS
// This makes absolutely no sense here
StartOrganya(lpDS, "Org\\Wave.dat"); StartOrganya(lpDS, "Org\\Wave.dat");
#endif
return FALSE; return FALSE;
} }