X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.c;h=801eb6b5b7f9c6e432d964407afe5c30b7565ecc;hb=e788c9b6a44d9f2dea7aa048b48a11b14761229e;hp=a300c84f9ba46c546ba0c694c023655221c06965;hpb=87af02f45b63b849773c7f830d69136d130acca0;p=rocksndiamonds.git diff --git a/src/tools.c b/src/tools.c index a300c84f..801eb6b5 100644 --- a/src/tools.c +++ b/src/tools.c @@ -20,10 +20,6 @@ #include "network.h" #include "tape.h" -#if defined(PLATFORM_MSDOS) -extern boolean wait_for_vsync; -#endif - /* tool button identifiers */ #define TOOL_CTRL_ID_YES 0 #define TOOL_CTRL_ID_NO 1 @@ -2105,9 +2101,9 @@ unsigned int MoveDoor(unsigned int door_state) if (!(door_state & DOOR_NO_DELAY)) { if (door_state & (DOOR_OPEN_1 | DOOR_OPEN_2)) - PlaySoundStereo(SND_MENU_DOOR_OPENING, PSND_MAX_RIGHT); + PlaySoundStereo(SND_MENU_DOOR_OPENING, SOUND_MAX_RIGHT); if (door_state & (DOOR_CLOSE_1 | DOOR_CLOSE_2)) - PlaySoundStereo(SND_MENU_DOOR_CLOSING, PSND_MAX_RIGHT); + PlaySoundStereo(SND_MENU_DOOR_CLOSING, SOUND_MAX_RIGHT); } start = ((door_state & DOOR_NO_DELAY) ? DXSIZE : 0);