LAB: Rename waiteffect -> waitForEffect

This commit is contained in:
Filippos Karapetis 2015-02-24 18:51:44 +02:00 committed by Eugene Sandulenko
parent a83c50cf66
commit 83e58fe452
3 changed files with 13 additions and 13 deletions

View file

@ -62,7 +62,7 @@ const char *ViewPath = "LAB:Rooms/";
const char *NewFileName;
extern bool DoNotDrawMessage;
extern bool NoFlip, IsBM, noupdatediff, waiteffect, mwaiteffect, QuitLab, EffectPlaying, soundplaying, MusicOn, DoBlack, ContMusic, DoNotReset;
extern bool NoFlip, IsBM, noupdatediff, waitForEffect, mwaitForEffect, QuitLab, EffectPlaying, soundplaying, MusicOn, DoBlack, ContMusic, DoNotReset;
extern char diffcmap[256 * 3];
extern CloseDataPtr CPtr;
@ -406,14 +406,14 @@ static void doActions(ActionPtr APtr, CloseDataPtr *LCPtr) {
switch (APtr->ActionType) {
case PLAYSOUND:
mwaiteffect = true; /* Plays a sound, but waits for it to be done before continuing */
mwaitForEffect = true; /* Plays a sound, but waits for it to be done before continuing */
ContMusic = false;
readMusic((char *)APtr->Data);
mwaiteffect = false;
mwaitForEffect = false;
break;
case PLAYSOUNDB:
mwaiteffect = false; /* Plays a sound in the background. */
mwaitForEffect = false; /* Plays a sound in the background. */
ContMusic = false;
readMusic((char *)APtr->Data);
break;