1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-31 16:51:50 +02:00

add executable; add sound via PlaySound (WinAPI);

This commit is contained in:
XProger
2016-08-30 02:38:09 +03:00
parent ba4a5f6e28
commit 9d60262916
3 changed files with 3 additions and 2 deletions

BIN
bin/OpenLara.exe Normal file

Binary file not shown.

View File

@@ -237,8 +237,9 @@ struct Controller {
auto c = level->soundOffsets[b]; auto c = level->soundOffsets[b];
void *p = &level->soundData[c]; void *p = &level->soundData[c];
#ifdef WIN32
// PlaySound((LPSTR)p, NULL, SND_ASYNC | SND_MEMORY); PlaySound((LPSTR)p, NULL, SND_ASYNC | SND_MEMORY);
#endif
} }
break; break;
} }