diff --git a/bin/data/LEVEL2_DEMO.PHD b/bin/LEVEL2_DEMO.PHD similarity index 100% rename from bin/data/LEVEL2_DEMO.PHD rename to bin/LEVEL2_DEMO.PHD diff --git a/bin/OpenLara.exe b/bin/OpenLara.exe new file mode 100644 index 0000000..44c0b21 Binary files /dev/null and b/bin/OpenLara.exe differ diff --git a/src/controller.h b/src/controller.h index 5a7ac01..26b257d 100644 --- a/src/controller.h +++ b/src/controller.h @@ -237,8 +237,9 @@ struct Controller { auto c = level->soundOffsets[b]; void *p = &level->soundData[c]; - - // PlaySound((LPSTR)p, NULL, SND_ASYNC | SND_MEMORY); + #ifdef WIN32 + PlaySound((LPSTR)p, NULL, SND_ASYNC | SND_MEMORY); + #endif } break; }